private void RptBind(string _strWhere, string _orderby) { this.page = Vincent._DTcms.DTRequest.GetQueryInt("page", 1); //if (this.status > 0) //{ // this.ddlStatus.SelectedValue = this.status.ToString(); //} //if (this.payment_status > 0) //{ // this.ddlPaymentStatus.SelectedValue = this.payment_status.ToString(); //} //if (this.express_status > 0) //{ // this.ddlExpressStatus.SelectedValue = this.express_status.ToString(); //} txtKeywords.Text = this.keywords; txtDate.Value = this.keyDate; BLL.orders bll = new BLL.orders(); BuysingooShop.Model.manager manModel = Session[Vincent._DTcms.DTKeys.SESSION_ADMIN_INFO] as Model.manager; //if (manModel.brand_id != 0) //{ // //_strWhere += " and brand_id=" + manModel.brand_id + " and preID=" + uid; // _strWhere += brend_id;//查询店长下线订单 //} this.rptList.DataSource = bll.Getoutlet_fuwuzhanbystoreid(this.pageSize, this.page, _strWhere, _orderby, out this.totalCount); this.rptList.DataBind(); //绑定页码 txtPageNum.Text = this.pageSize.ToString(); string pageUrl = Vincent._DTcms.Utils.CombUrlTxt("outlet_fuwuzhan.aspx", "status={0}&payment_status={1}&express_status={2}&keywords={3}&keyDate={4}&page={5}", this.status.ToString(), this.payment_status.ToString(), this.express_status.ToString(), this.keywords, this.keyDate, "__id__"); PageContent.InnerHtml = Vincent._DTcms.Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8); }