muchas gracias.
Aragorn.
Gracias.
"Aragorn" <aldos...@hotmail.com> escribió en el mensaje
news:eMFf64Oj...@TK2MSFTNGP09.phx.gbl...
--
Salu2
Misael Monterroca
Participa tambien en http://mx.groups.yahoo.com/group/aspmexico/join
"Aragorn" <aldos...@hotmail.com> wrote in message
news:%23zbTnZP...@TK2MSFTNGP11.phx.gbl...
y uso el siguiente código en el evento LOAD de la pagina:
Dim tw As New System.IO.StringWriter
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
Dim str_tw As String
Response.Clear()
Response.ContentType = "application/vnd.ms-excel"
Response.ContentEncoding = System.Text.Encoding.UTF8
Imprime()
tblReporte.RenderControl(hw)
str_tw = tw.ToString()
Response.Write(str_tw)
Response.Flush()
Response.Close()
Dentro del procedimiento imprime() crea tu dataset o datareader y "metelo"
en el objeto TABLE (tblReporte en el ejemplo)
Saludos,
Virgilio
"Aragorn" <aldos...@hotmail.com> wrote in message
news:eMFf64Oj...@TK2MSFTNGP09.phx.gbl...
"Licovali" <vlic...@capta.com.mx> escribió en el mensaje
news:e3hNcSSj...@tk2msftngp13.phx.gbl...
Marcial
"Licovali" <vlic...@capta.com.mx> wrote in message
news:e3hNcSSj...@tk2msftngp13.phx.gbl...