中继器控制中的分页代码 [英] code for paging in repeater control

查看:58
本文介绍了中继器控制中的分页代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有500页可以浏览,但格式会特定,
我希望显示第1 5页的页数,然后单击下一步"按钮,然后应显示下5页的页数..

例子

如果在中继器控制中
我的页码是.

1 2 3 4 5下一个



当我单击下一个按钮"时,我应该链接到下一个按钮,即

6 7 8 9 10下一页


我该怎么做?

i have 500 pages to be view but in specific format,
i want 1st 5 numbers of pages should be displayed and when click on next button then next five pages number should be displayed..

Example

if in repeater control
my pages numbers are.

1 2 3 4 5 Next



when i clicked on Next Button then i should get linked of next button that is

6 7 8 9 10 Next


How can i do that???

推荐答案

引用这些链接
具有分页和排序功能的中继器 [ http://www.ezzylearning.com/tutorial.aspx?tid=9637167 [ ^ ]
http://ozsenegal.wordpress.com /2009/08/16/custom-page-asp-net-com-repeater-e-data-list/ [
Refer these links
Repeater with Paging and Sorting Features[^]
http://www.ezzylearning.com/tutorial.aspx?tid=9637167[^]
http://ozsenegal.wordpress.com/2009/08/16/custom-page-asp-net-com-repeater-e-data-list/[^]


这篇关于中继器控制中的分页代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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