当鼠标在asp.net中向下滚动时如何加载数据 [英] how to load data when mouse scrolling down in asp.net

查看:178
本文介绍了当鼠标在asp.net中向下滚动时如何加载数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的数据库表中有3000家公司。



后期阶段公司是增加。我的意思是行增加。



我想要显示总记录。



我写了这样的查询



从公司选择*。



但是最初加载所有记录,检索需要更多时间并且显示,



这里我的要求最初它将加载20家公司当我向下滚动下一个20,稍后我将向下滚动下载20个记录等...







有没有办法,

请帮帮我。



谢谢....

解决方案

浏览此链接。

http://www.aspsnippets.com/Articles/Load-on-demand-data-in-GridView-on-scroll-using-ASPNet-and-jQuery-AJAX.aspx



http://dotnetprof.blogspot.in/2013/04/load-partial-data-in-gridview-using.html

Hi,

I have 3000 companies in my database table.

later stages Companies are increased. I mean rows are increased.

I want display total records.

I have write query like this

Select * from company.

But initially load all records, It will take more time for retrieving and displaying,

Here my requirement is initially it will load 20 companies When I scroll down load next 20, later I will scroll down load next 20 records etc...



Is there any possible ways,
Please help me.

Thank you....

解决方案

Go through this link.
http://www.aspsnippets.com/Articles/Load-on-demand-data-in-GridView-on-scroll-using-ASPNet-and-jQuery-AJAX.aspx

http://dotnetprof.blogspot.in/2013/04/load-partial-data-in-gridview-using.html


这篇关于当鼠标在asp.net中向下滚动时如何加载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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