摘要: 最喜欢用repeater控件,小巧灵活但分页就是使用分页数据源--PagedDataSource,而且要自己去定义总页数、每页的数据量 、当前页等等,同事引入一个新的dll( AspNetPager.dll),也很好用,贴上一些代码,方便开发使用,最稀饭的就是这个样式很爽this.GridView1.DataSource = this.getPage(ds);this.GridView1.DataBind();public PagedDataSource getPage(DataSet ds) { this.Pager1.RecordCount = ds.Tables[0].Rows.Coun 阅读全文
posted @ 2011-01-04 14:22 张倩 阅读(264) 评论(0) 推荐(0) 编辑