示例#1
0
        protected void bind()
        {
            pageIndex = Utils.GetInt(Utils.GetQueryStringValue("page"), 1);                                                //第几页
            EyouSoft.BLL.TourStructure.QuoteAttach           tsBLL      = new EyouSoft.BLL.TourStructure.QuoteAttach();    //初始化bll
            EyouSoft.Model.TourStructure.QuoteAttach         SearchInfo = null;                                            //初始化model
            IList <EyouSoft.Model.TourStructure.QuoteAttach> GetInquireList;                                               //初始化list

            GetInquireList = tsBLL.GetQuoteList(SiteUserInfo.CompanyID, pageSize, pageIndex, ref recordCount, SearchInfo); //绑定列表
            //绑定
            retList.DataSource = GetInquireList;
            retList.DataBind();
            //分页
            BindPage();
        }