如何在数据列表中创建自定义链接 [英] How to create custom link in datalist

查看:68
本文介绍了如何在数据列表中创建自定义链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建一个网站,并在其中进行数据列表控制.我绑定PagedDataSource.在PagedDataSource中,我可以实现AllowPaging,但不能实现关于如何创建大于页面大小的链接的任何想法,并且在单击链接时也可以进行检索.如果页面数大于5,还会显示下一个和上一个链接.

I am create a website, where take a datalist control. I am bind PagedDataSource. In PagedDataSource, I can implement AllowPaging but not any idea for how to create link if greater than page size and also retrieve when click the link. also display if next and previous link if page count greater than 5.

推荐答案

也许这会有所帮助
http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx [ ^ ]

使用PagedDataSource类进行分页 [
Perhaps this will help
http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx[^]

Paging using PagedDataSource class[^]


这篇关于如何在数据列表中创建自定义链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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