J
Juergen
Hi
My web application is exporting a Datagrid to excel (see sourcecode below)
This working fine with about 4000 records. If more then 4000 should be
exported it is no longer working (page cannot be displayed). Does anyon
have an idea
Many Thanks in advanc
Juerge
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
Response.Buffer = true
MasterGrid.EnableViewState = false
System.IO.StringWriter tw = new System.IO.StringWriter()
System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw)
RenderControl(hw)
Response.Write(tw.ToString())
Response.End()
My web application is exporting a Datagrid to excel (see sourcecode below)
This working fine with about 4000 records. If more then 4000 should be
exported it is no longer working (page cannot be displayed). Does anyon
have an idea
Many Thanks in advanc
Juerge
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
Response.Buffer = true
MasterGrid.EnableViewState = false
System.IO.StringWriter tw = new System.IO.StringWriter()
System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw)
RenderControl(hw)
Response.Write(tw.ToString())
Response.End()