private void RptBind(string _strWhere, string _goodsby) { this.page = DTRequest.GetQueryInt("page", 1); if (this.customer_id > 0) { this.ddlCustomer.SelectedValue = this.customer_id.ToString(); } if (this.storein_order_id > 0) { this.ddlStoreInOrder.SelectedValue = this.storein_order_id.ToString(); } txtKeyWord.Text = this.keyword; txtBeginTime.Text = this.beginTime; txtEndTime.Text = this.endTime; BLL.ReceivedMoney bll = new BLL.ReceivedMoney(); this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _goodsby, out this.totalCount); this.rptList.DataBind(); //绑定页码 txtPageNum.Text = this.pageSize.ToString(); string pageUrl = Utils.CombUrlTxt("storein_received_list.aspx", "customer_id={0}&storein_order_id={1}&keyword={2}&beginTime={3}&endTime={4}&page={5}", this.customer_id.ToString(), this.storein_order_id.ToString(), this.keyword.ToString(), this.beginTime.ToString(), this.endTime, "__id__"); PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8); }
private void RptBind(string _strWhere, string _goodsby) { this.page = DTRequest.GetQueryInt("page", 1); if (this.customer_id > 0) { ddlCustomer.SelectedValue = customer_id.ToString(); } if (this.storein_order_id > 0) { ddlStoreInOrder.SelectedValue = storein_order_id.ToString(); } txtBeginTime.Text = this.beginTime; txtEndTime.Text = this.endTime; txtKeyWord.Text = this.keywords; BLL.ReceivedMoney bll = new BLL.ReceivedMoney(); this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _goodsby, out this.totalCount); this.rptList.DataBind(); //绑定页码 txtPageNum.Text = this.pageSize.ToString(); string pageUrl = Utils.CombUrlTxt("received_money_list.aspx", "customer_id={0}&storein_order_id={1}&vehicle_id={2}&beginTime={3}&endTime={4}&keywords={5}&page={6}", this.customer_id.ToString(), this.storein_order_id.ToString(), this.vehicle_id.ToString(), this.beginTime.ToString(), this.endTime, this.keywords.ToString(), "__id__"); PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8); }