Am using some code to export data from gridview. Suppose if I have small content it export the data perfectly. But the grid have some lage amount of data then it display the below message " exception of type 'system.outofmemoryexception' was thrown.". Please help me to fix this error. am not able to fix this...
This is my partial code :
Sales_GridView.RenderControl(htw);//Error in this line
Response.Write(sw.ToString());
Response.End();
工作表大小为65,536行乘256列,因此在将数据导出到excel时检查该行
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.