Beispiel #1
0
        private void RptBind(string _strWhere, string _orderby, ManagerInfo model)
        {
            this.page        = DTRequest.GetQueryInt("page", 1);
            txtKeywords.Text = this.keywords;
            SF.BLL.manager bll = new SF.BLL.manager();
            this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _orderby, out this.totalCount);
            this.rptList.DataBind();

            //绑定页码
            txtPageNum.Text = this.pageSize.ToString();
            string pageUrl = SFUtils.CombUrlTxt("business_list.aspx", "keywords={0}&page={1}", this.keywords, "__id__");

            PageContent.InnerHtml = SFUtils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
        }