如何实现ASP分页:DataList控件在.NET 2.0吗? [英] How to implement paging for asp:DataList in .NET 2.0?

查看:116
本文介绍了如何实现ASP分页:DataList控件在.NET 2.0吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在.NET 2.0 DataList控件

我花了很多时间研究这个问题,只是想分享的情况下,你是否需要实现ASP页面的解决方案。

我的具体要求是有previous和下一步的链接和页码链接。


解决方案

我搬到这起问题,所以它不会显示为不回答

在这篇文章

PagedDataSource的解决方案是最优雅,最简单的解决方案问题

如果你有一个更好的解决方案 - 在这里发布

P.S。我不隶属于任何方式该网站。

I spent hours researching the problem, and just want to share a solution in case you ever need to implement paging for asp:DataList in .NET 2.0.

My specific requirement was to have "Previous" and "Next" links and page number links.

解决方案

I moved this from the question, so it doesn't appear as "Not Answered"

PagedDataSource solution in this article was the most elegant and simple solution for the problem.

If you have a better solution - post it here.

p.s. I'm not affiliated with that website in any way.

这篇关于如何实现ASP分页:DataList控件在.NET 2.0吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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