public override int LoadData(int pageNumber, int pageSize) { int totalCount = 0; BusinessRule.JHSY.CWInfo rule = new BusinessRule.JHSY.CWInfo(); this.tblSchema = rule.GetCWInfoList(out totalCount, pageSize, pageNumber, BusinessRule.Common.OrderByType.ASC, this.CurrentFilter); return(totalCount); }
private void LoadData(int pageNumber, int pageSize) { int totalCount = 0; BusinessRule.JHSY.CWInfo rule = new BusinessRule.JHSY.CWInfo(); this.tblSchema = rule.GetCWInfoList(out totalCount, pageSize, pageNumber, BusinessRule.Common.OrderByType.ASC, this.GetLastQueryCondition(this.dgCWInfo.UniqueID)); ucCustomPaging.TotalRecords = totalCount; this.BindGrid(); }