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

posted on 2012-02-21 21:19  xupeng  阅读(511)  评论(0编辑  收藏  举报

导航