Beispiel #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void InitPage()
        {
            int intRecordCount = 0;

            intPageIndex = Utils.GetInt(Request.QueryString["Page"], 1);
            EyouSoft.IBLL.TourStructure.ITour Tourbll = EyouSoft.BLL.TourStructure.Tour.CreateInstance();
            HavingOrderLists = new List <EyouSoft.Model.TourStructure.HavingOrderTourInfo>();
            //获取未处理订单的团队信息集合
            HavingOrderLists = Tourbll.GetUndisposedOrderTours(intPageSize, intPageIndex, ref intRecordCount, CompanyId, null);
            this.rpt_OrdersReceived.DataSource = HavingOrderLists;
            this.rpt_OrdersReceived.DataBind();
            if (rpt_OrdersReceived.Items.Count <= 0)
            {
                this.NoData.Visible = true;
            }
            Tourbll          = null;
            HavingOrderLists = null;
            this.ExportPageInfo1.intPageSize    = intPageSize;
            this.ExportPageInfo1.CurrencyPage   = intPageIndex;
            this.ExportPageInfo1.intRecordCount = intRecordCount;
            this.ExportPageInfo1.PageLinkURL    = Request.ServerVariables["SCRIPT_NAME"].ToString() + "?";
        }