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; pd