S
Steve Schroeder
Using this code, how might I render the results to a new browser window and
leave the original as it? Thanks...
Dim tw As New System.IO.StringWriter()
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
Me.EnableViewState = False
dgInvoice.RenderControl(hw)
Response.Write(tw.ToString())
Response.End()
FYI...not my code, source is:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317719
Thanks
leave the original as it? Thanks...
Dim tw As New System.IO.StringWriter()
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
Me.EnableViewState = False
dgInvoice.RenderControl(hw)
Response.Write(tw.ToString())
Response.End()
FYI...not my code, source is:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317719
Thanks