如何在Viewstate中回发之前清除DataGrid?

时间:2017-05-18 07:47:21

标签: c# jquery asp.net gridview datagrid

有一个asp.net(3.5)搜索页面。在gettin sql结果之后的页面上,页面大小为30 MB。如果我再次点击(不同的标准或不重要)我得到“类型'System.OutOfMemoryException'的异常被抛出。”消息。

我想这样,如果我可以清除DataGrid(或gridview)之前(按钮点击)回发可能是页面无法获得错误'System.OutOfMemoryException'。

非常感谢。

0 个答案:

没有答案
相关问题