转载-绅士也疯狂 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
浙公网安备 33010602011771号