Esempio n. 1
0
        public override int LoadData(int pageNumber, int pageSize)
        {
            int totalCount = 0;

            BusinessRule.JHSY.CWOneChild rule = new BusinessRule.JHSY.CWOneChild();
            this.tblSchema = rule.GetCWOneChildList(out totalCount, pageSize, pageNumber, BusinessRule.Common.OrderByType.ASC, this.CurrentFilter);

            return(totalCount);
        }
Esempio n. 2
0
        private void LoadData(int pageNumber, int pageSize)
        {
            int totalCount = 0;

            BusinessRule.JHSY.CWOneChild rule = new BusinessRule.JHSY.CWOneChild();
            this.tblSchema = rule.GetCWOneChildList(out totalCount, pageSize, pageNumber, BusinessRule.Common.OrderByType.ASC, this.GetLastQueryCondition(this.dgCWOneChild.UniqueID));
            ucCustomPaging.TotalRecords = totalCount;

            this.BindGrid();
        }