开发者

How to handle large volume of data in gridview?

开发者 https://www.devze.com 2022-12-23 05:08 出处:网络
I have large volume of records in my database(70k).How do i ha开发者_Python百科ndle with this kind of volume data in gridview.

I have large volume of records in my database(70k).How do i ha开发者_Python百科ndle with this kind of volume data in gridview.

Is there any samples provided for this?


Restrict the GridView to showing 10 or 20 items per page and then rewrite your data access layer so that you can request pages of data from the database. You can then create your own paging buttons and request the proper page of data as the user clicks on each page.

Allowing the user to enter search criteria to reduce the number of rows returned from the database would also be a good option.


use a proper virtualizing datagrid - not the one coming from Microsoft.

Either do it yourself, or buy (Infragistics, Devexpress, Telerik, thy all can do that).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号