ASP.Net中的Gridview数据加载问题 [英] Gridview Data Loading Problem in ASP.Net
问题描述
嗨
我想在gridview中加载数据(至少500000条记录)而不使用分页,如果有任何方法在gridview中加载数据没有分页的最快方法请告诉我。
没办法......为什么?什么,你认真吗?
Quote:500000条记录
谁想查看那些记录在一个页面上?没有人喜欢这个,这是非常糟糕的设计。请先重新考虑。
请使用自定义分页或滚动时按需加载。< br $> b $ b
参考
1. ASP.Net GridView自定义分页与PageSize更改下拉列表 [ ^ ]
2. 使用ASP.Net和jQuery滚动GridView中的按需数据AJAX [ ^ ]
您可以使用Endless滚动概念。
请参阅:
http:/ /www.aspsnippets.com/Articles/Implement-Infinite-Scroll-Endless-Scroll-in-ASPNet-using-jQuery-AJAX.aspx [ ^ ]
http://www.aspsnippets.com/Articles/Implement-Endless-Scroll-Infinite-Scroll-in-ASPNet-GridView-using-jQuery-AJAX.aspx [<一个href =http://www.aspsnippets.com/Articles/Implement-Endless-Scroll-Infinite-Scroll-in-ASPNet-GridView-using-jQuery-AJAX.aspx\"target =_ blanktitle =New Window > ^ ]
ASP.NET MVC Ajax In有限滚动 [ ^ ]
Hi
I want to load data in gridview (at least 500000 records) without use paging, if any way to load data in gridview in fastest way without paging please tell me.
No way... Why? What, are you serious?
Quote:500000 records
Who would like to view those many records on a page? Nobody likes this and it is really bad design. Please reconsider first.
Please use "Custom Paging" or "On Demand Load while Scrolling".
Refer
1. ASP.Net GridView Custom Paging with PageSize Change Dropdown[^]
2. Load on demand data in GridView on scroll using ASP.Net and jQuery AJAX[^]
You can use Endless scroll concept.
please see :
http://www.aspsnippets.com/Articles/Implement-Infinite-Scroll-Endless-Scroll-in-ASPNet-using-jQuery-AJAX.aspx[^]
http://www.aspsnippets.com/Articles/Implement-Endless-Scroll-Infinite-Scroll-in-ASPNet-GridView-using-jQuery-AJAX.aspx[^]
ASP.NET MVC Ajax Infinite Scroll[^]
这篇关于ASP.Net中的Gridview数据加载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!