如何在GridView中进行分页???? [英] How to do paging in GridView????

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

问题描述

我有一个网格,已将AllowPaging属性设置为true.我正在从文本框中发布数据,而不是绑定数据,并且发布数据时我的分页不起作用.我已将GridView页面大小设置为5.

I have a grid, I have set the AllowPaging property to true. I am posting data from textboxes, not binding data, and my paging is not working when I post the data. I have set the GridView pagesize to 5.
Please tell me how to make paging work when posting the data?

推荐答案

A.A Fahad,

请参阅我的文章:使用对象数据源优化分页和排序 [
A.A Fahad,

Please see my article : Optimized Paging and Sorting using Object Data Source[^]

Let me know if you have any further question.

Thanks
-Akhtar


我有一篇有关带数据库的asp.net网格视图的自定义分页的文章,希望它能满足您的需求.

具有自定义分页功能的ASP.NET增强网格视图 [
I have an article about custom pagination for the asp.net grid view with database, I hope it has what you need.

ASP.NET Enhanced Grid View with Custom Pagination[^]


这篇关于如何在GridView中进行分页????的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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