Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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();
        }