ASP.NET: How to create a custom Pager for GridView?

大城市里の小女人 提交于 2019-12-11 14:09:58

问题


Is it possible to create a custom Pager for the GridView control of ASP.NET that looks liek this?

If so, can anyone give me some ideas or some starting code into how to create it?

Thank you.


回答1:


You just need fixed LinkButtons for previous & next and a LinkButton inside a Repeater control for the individual pages.

Have a look at this page for details: Custom Paging with the ASP.NET Repeater control



来源:https://stackoverflow.com/questions/11961844/asp-net-how-to-create-a-custom-pager-for-gridview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!