예제 #1
0
파일: HongBao.aspx.cs 프로젝트: uwitec/O2O
        /// <summary>
        /// 初始化页面
        /// </summary>
        void initlist()
        {
            Eyousoft_yhq.BLL.BHongBao bll = new Eyousoft_yhq.BLL.BHongBao();
            Eyousoft_yhq.Model.HongBaoSer serchModel = new Eyousoft_yhq.Model.HongBaoSer();

            pageIndex = UtilsCommons.GetPagingIndex("Page");
            var list = bll.GetList(pageSize, pageIndex, ref recordCount, serchModel);
            if (list != null && list.Count > 0)
            {
                rptlist.DataSource = list;
                rptlist.DataBind();

                this.ExporPageInfoSelect1.intPageSize = pageSize;
                this.ExporPageInfoSelect1.CurrencyPage = pageIndex;
                this.ExporPageInfoSelect1.intRecordCount = recordCount;

                litMsg.Visible = false;
            }
        }
예제 #2
0
        /// <summary>
        /// 初始化页面
        /// </summary>
        void initlist()
        {
            Eyousoft_yhq.BLL.BHongBao     bll        = new Eyousoft_yhq.BLL.BHongBao();
            Eyousoft_yhq.Model.HongBaoSer serchModel = new Eyousoft_yhq.Model.HongBaoSer();


            pageIndex = UtilsCommons.GetPagingIndex("Page");
            var list = bll.GetList(pageSize, pageIndex, ref recordCount, serchModel);

            if (list != null && list.Count > 0)
            {
                rptlist.DataSource = list;
                rptlist.DataBind();

                this.ExporPageInfoSelect1.intPageSize    = pageSize;
                this.ExporPageInfoSelect1.CurrencyPage   = pageIndex;
                this.ExporPageInfoSelect1.intRecordCount = recordCount;


                litMsg.Visible = false;
            }
        }