转载-绅士也疯狂 AspNetPage分页使用方法
摘要:
一、绑定方法private void DataBindDataTable(string whereCondition) { //whereCondition是查询的条件 IList<Sr_TakeNameListEntity> list = SrTakeNameListManage.GetSrTabkeNameAllList(whereCondition); AspNetPager1.RecordCount = list.Count;//设置总条数 PagedDataSource pds = new PagedDataSource(); pds.DataSource = list; 阅读全文
posted @ 2011-09-30 17:03 嘭嘭帮 阅读(236) 评论(0) 推荐(0) 编辑