摘要:
void BindData() { PagedDataSource pds = new PagedDataSource(); pds.DataSource = Infos; pds.AllowPaging = true; pds.PageSize = 10;//取控件的分页大小 pds.CurrentPageIndex = this.AspNetPager1.CurrentPageIndex - 1;//显示当前页 //设置控件 this.AspNetPager1.RecordCount = Infos.Count;//记录总数 this.AspNetPager1.PageSize = 1.. 阅读全文
posted @ 2014-01-13 21:49
柳絮
阅读(131)
评论(0)
推荐(0)
浙公网安备 33010602011771号