向下滚动时在网格视图中加载记录,无分页技术。 [英] Loading records in the grid view while scrolling down,No Paging technique.

查看:50
本文介绍了向下滚动时在网格视图中加载记录,无分页技术。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用.net gridview加载记录。我必须将5000条记录加载到gridview。它在2秒内获取数据,但渲染记录,它需要2分钟。预期的解决方案是,第一次将100条记录绑定到网格,而向下滚动则再添加100条记录,就像在向下滚动时必须将记录添加到gridview。

I am using .net gridview to load the records. I have to load 5000 records to the gridview. Its fetchig the data in 2 secs, but rendering the records , its taking 2 minuits. The expected solution is, first time bind 100 records to grid, while scrolling down add 100 more, like that have to add the records to gridview while scrolling down.

推荐答案

不要这样做 - 改为选择他们。这里有一个例子:显示GridView 中一次显示的信息页面[ ^ ]
Don''t do it that way - page them instead. There is an example here: Showing a page of information at a time in a GridView[^]


也许以下文章会有所帮助。

< a href =http://www.codeproject.com/KB/aspnet/JavaScriptGridView.aspx>在ASP.NET中使用JavaScript的Ajax启用Gridview [ ^ ]



如果没有,我的看法是AJAX是将用于此场景的那个。所以你可能想了解更多相关信息。
Maybe the following article will help.
Ajax Enabled Gridview using JavaScript in ASP.NET[^]

If not, my take is that AJAX is the one that will be used for this scenario. So you might want to read more about it.


这篇关于向下滚动时在网格视图中加载记录,无分页技术。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆