/// <summary> /// 初始化 /// </summary> private void DataInit() { //获取分页参数并强转 pageIndex = Utils.GetInt(Utils.GetQueryStringValue("page")); BIndividual bllBIndividual = new BIndividual(); IList <MCompanyContractExpireRemind> list = bllBIndividual.GetCompanyContractExpireRemindLst(pageSize, pageIndex, ref recordCount, SiteUserInfo.CompanyId); if (list != null && list.Count > 0) { this.rptList.DataSource = list; this.rptList.DataBind(); //绑定分页 BindPage(); } }