使用转发器控件使用C#在ASP.NET中创建分页 [英] Creating pagination in ASP.NET with C# using repeater control

查看:62
本文介绍了使用转发器控件使用C#在ASP.NET中创建分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过使用以下网址创建了与转发器的分页它完美地工作但问题是当数据超过10000万条记录页面加载很长时间因为没有where子句但我想通过使用where来加载前10条记录然后单击下一步按钮等等。



URL: ASP.NET C#中带有Repeater控件的完美分页 [ ^ ]



我的尝试:



ASP.NET C#中带有Repeater控件的完美分页 [ ^ ]

I have created pagination with repeater by using the following url it works perfectly but problem is when data is more than 10000 thousand records page loads long time because of there is no where clause but i want to load 1st 10 records by using where and next 10 by clicking next button and so on.

URL : Perfect Pagination with Repeater Control in ASP.NET C#[^]

What I have tried:

Perfect Pagination with Repeater Control in ASP.NET C#[^]

推荐答案

您不显示任何代码。我们只能假设您不理解文章或虚拟化的整个概念,并将其错误。



在你要显示一些代码之前,你应该去做其他的事情。
You show no code. We can only assume you didn't understand the article or the whole concept of "virtualization" and did it "wrong".

You should go and do something else until you have some code to show.


这篇关于使用转发器控件使用C#在ASP.NET中创建分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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