/// <summary> /// 绑定收款单据列表数据 /// </summary> private void BindRpList() { LoginInfo login = Session["login"] as LoginInfo; AspNetPager1.RecordCount = To_CollectingManager.GetTotalCountByLimit(FilterSql + " AND confirmReceipt=1 ", login.Id); SearchPageSet sps = SearchPageSetManager.getSearchPageSetByLoginId(login.Id, 018); if (sps == null) { AspNetPager1.NumericButtonCount = 5; AspNetPager1.PageSize = 5; } else { AspNetPager1.NumericButtonCount = sps.Pagecount; AspNetPager1.PageSize = sps.Pageitem; } DataTable data = To_CollectingManager.GetListByLimit(FilterSql + " AND confirmReceipt=1 ", login.Id, AspNetPager1.StartRecordIndex, AspNetPager1.EndRecordIndex); RpList.DataSource = data; RpList.DataBind(); }