2007年7月11日
摘要: Introduction There are lots of ways of creating custom paging in GridView. Most of the ones I've seen implement in PagerTemplate. This is tedious if you have several pages in your application and/or s... 阅读全文
posted @ 2007-07-11 09:46 石川 阅读(371) 评论(0) 推荐(0) 编辑
摘要: GridView的分页功能很不错, 利用DataSource控件我们可以比较轻松地实现分页.此外,我们还可以使用PageTemplate来自定义分页行的样式.很多时候这样就足够了,但如果还是不能满足要求,我们可以扩展GridView,为其添加自定义的分页样式. 本文将给出两种比较常用的分页样式,通过此例,我们也可大致了解自定义分页样式的原理,如果需要添加其它样式,也不会很难了. 这里参考了两篇文章... 阅读全文
posted @ 2007-07-11 08:52 石川 阅读(274) 评论(0) 推荐(0) 编辑