private void RptBind(string _strWhere, string _orderby) { this.page = DTRequest.GetQueryInt("page", 1); BLL.daikuan bll = new BLL.daikuan(); this.rptList.DataSource = bll.GetWarnList(this.pageSize, this.page, "status=1 and hk_status<>1 and DATEDIFF(day, getdate(),(DATEADD(month,[month],audit_time))) <=31", _orderby, out this.totalCount); this.rptList.DataBind(); //绑定页码 txtPageNum.Text = this.pageSize.ToString(); string pageUrl = Utils.CombUrlTxt("daikuan_list.aspx", "keywords={0}&page={1}", this.keywords, "__id__"); PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8); }