private void RptBind(string _strWhere, string _orderby)
 {
     this.txtKeywords.Text = this.keywords;
     BLL.advert_banner bll = new BLL.advert_banner();
     this.rptList.DataSource = bll.GetList(0, _strWhere, _orderby);
     this.rptList.DataBind();
 }
Beispiel #2
0
 private void RptBind(string _strWhere, string _orderby)
 {
     this.page = DTRequest.GetQueryInt("page", 1);
     this.txtKeywords.Text = this.keywords;
     if (this.aid > 0)
     {
         this.ddlAdvertId.SelectedValue = this.aid.ToString();
     }
     BLL.advert_banner bll = new BLL.advert_banner();
     this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _orderby, out this.totalCount);
     this.rptList.DataBind();
     //绑定页码
     txtPageNum.Text = this.pageSize.ToString();
     string pageUrl = Utils.CombUrlTxt("bar_list.aspx", "aid={0}&keywords={1}&page={2}", this.aid.ToString(), this.keywords, "__id__");
     PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
 }
Beispiel #3
0
        private void RptBind(string _strWhere, string _orderby)
        {
            this.page = DTRequest.GetQueryInt("page", 1);
            //this.txtKeywords.Text = this.keywords;
            if (this.aid > 0)
            {
                this.ddlAdvertId.SelectedValue = this.aid.ToString();
            }
            BLL.advert_banner bll = new BLL.advert_banner();
            this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _orderby, out this.totalCount);
            this.rptList.DataBind();
            //绑定页码
            txtPageNum.Text = this.pageSize.ToString();
            string pageUrl = Utils.CombUrlTxt("bar_list.aspx", "aid={0}&keywords={1}&page={2}", this.aid.ToString(), txtKeywords.Text, "__id__");

            PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
        }
 private void RptBind(string _strWhere, string _orderby)
 {
     this.txtKeywords.Text = this.keywords;
     BLL.advert_banner bll = new BLL.advert_banner();
     this.rptList.DataSource = bll.GetList(0, _strWhere, _orderby);
     this.rptList.DataBind();
 }
Beispiel #5
0
 private void RptBind(string _strWhere)
 {
     BLL.advert_banner bll = new BLL.advert_banner();
     this.rptList.DataSource = bll.GetList(_strWhere);
     this.rptList.DataBind();
 }