您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
-->
当前位置:首页 >> 编程问答 >> .NET >> gridview导出excel出现内存溢出

gridview导出excel出现内存溢出

来源:网络整理     时间:2016/5/15 12:17:00     关键词:gridview导出excel

关于网友提出的“gridview导出excel出现内存溢出”问题疑问,本网通过在网上对“gridview导出excel出现内存溢出”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题:gridview导出excel出现内存溢出
描述:

asp.net gridview导出excel,npoi gridview 导出excel,js gridview 导出excel,winform gridview导出excel,将gridview导出到excel,asp gridview导出excel,c# gridview导出excel,gridview导出excel 乱码asp.net gridview导出excel,npoi gridview 导出excel,js gridview 导出excel,winform gridview导出excel,将gridview导出到excel,asp gridview导出excel,c# gridview导出excel,gridview导出excel 乱码Code
[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
+29
System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
+69
System.Text.StringBuilder.Append(String value)
+97
System.IO.StringWriter.Write(String value)
+34
System.Web.UI.HtmlTextWriter.Write(String s)
+27
System.Web.UI.WebControls.TableCell.RenderContents(HtmlTextWriter writer)
+41
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
+32
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
+27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
+99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
+25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
+134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
+19
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
+10
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
+32
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
+27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
+99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
+25
System.Web.UI.WebControls.Table.RenderContents(HtmlTextWriter writer)
+206
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
+32
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
+27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
+99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
+25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
+134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
+19
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
+10
System.Web.UI.WebControls.GridView.Render(HtmlTextWriter writer, Boolean renderPanel)
+224
System.Web.UI.WebControls.GridView.Render(HtmlTextWriter writer)
+33
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
+27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
+99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
+25
NPetshop.WebApp.admin.OrderManage.StoresList.btnToExcel_Click(Object sender, EventArgs e)
in E:\CRM\HHEC\NPetshop.WebApp\admin\OrderManage\StoresList.aspx.cs:135
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
+111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
+10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
+13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1565


以上介绍了“gridview导出excel出现内存溢出”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/1087703.html

上一篇silverlight的生成问题 下一篇petshop

相关图片

相关文章