如何为页面创建分页 [英] how to create a pagination for page

查看:116
本文介绍了如何为页面创建分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在一页中有多个gridviews(11).如果gridview有很多数据,那么用户必须向下滚动所有页面.我不希望这样发生.效率不高..然后如何制作页面可以如果页面中有很多数据,则可以单击``next''或``1,2,3''进行分页.但是如果数据很小,则无需分页.

请有人帮我.用代码..我不知道该怎么做.

Hi all,

i have multiple gridviews(11) in 1 page.if gridview has many data then the user has to scroll down all the page.i dont want it happen like that way.it is not efficient right..then how to make the page can be pagination in order user can click ''next'' or ''1,2,3'' if the page has many data.but if the data is small then there is no need for pagination.

please someone can help me.with code..i dont have any idea how to do it.

推荐答案

您好,frnd,

对于您的方案,您可以采用多种方式实施:

1)您可以使用制表符控件,并按制表符划分每个网格. 视图控件帮助

现在,您必须选择想要的实现方式.

希望对您有所帮助:)
Hi frnd,

For your scenario you can implement in lot''s of way:

1) you can use tab control and divide each grid in tab wise. Tab controls
2) you can also use view control for each grid will deride into each view.View control help

now you have to choose how u want to implement it.

hope this will help:)


您可以使用AJAX标签容器控件.在每个选项卡中,您都可以分发数据.您可以使用CSS以获得更好的显示效果.
检查有关标签容器的这些链接.

标签 [ ajax tabcontainer和tabpanel [ ^ ]

标签容器 [
you can use AJAX Tab Container control. In each of the tabs you can distribute the data. you can CSS for better display.
check these links about Tab Container.

Tabs[^]

ajax tabcontainer and tabpanel[^]

Tab Container[^]


这篇关于如何为页面创建分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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