Beispiel #1
0
        /// <summary>
        /// 页面初始化
        /// </summary>
        private void PageInit()
        {
            Eyousoft_yhq.BLL.BPlanIns bll = new Eyousoft_yhq.BLL.BPlanIns();

            #region 查询实体
            var serchModel = new Eyousoft_yhq.Model.MPlanInsSer()
            {
                OperatorID = HuiYuanInfo.UserID
            };
            pageIndex = UtilsCommons.GetPagingIndex("Page");
            #endregion


            var list = new Eyousoft_yhq.BLL.BPlanIns().GetList(pageSize, pageIndex, ref recordCount, serchModel);

            if (list != null && list.Count > 0)
            {
                this.rpOrder.DataSource = list;
                this.rpOrder.DataBind();
                BindPage();
            }
            else
            {
                Literal1.Text = "<tr align=\"center\"> <td colspan=\"11\">没有相关数据</td></tr>";
            }
        }
Beispiel #2
0
        /// <summary>
        /// 初始化列表
        /// </summary>
        protected void InitOrders()
        {
            #region 查询实体
            pageIndex = UtilsCommons.GetPagingIndex("Page");
            #endregion

            var list = new Eyousoft_yhq.BLL.BPlanIns().GetList(pageSize, pageIndex, ref recordCount, null);
            if (list != null && list.Count > 0)
            {
                rpt_orders.DataSource = list;
                rpt_orders.DataBind();
                BindPage();
                litMsg.Visible = false;
            }
            else
            {
                rpt_orders.Visible = false;
            }
        }
Beispiel #3
0
        /// <summary>
        /// 初始化列表
        /// </summary>
        protected void InitOrders()
        {
            #region 查询实体
            pageIndex = UtilsCommons.GetPagingIndex("Page");
            #endregion

            var list = new Eyousoft_yhq.BLL.BPlanIns().GetList(pageSize, pageIndex, ref recordCount, null);
            if (list != null && list.Count > 0)
            {
                rpt_orders.DataSource = list;
                rpt_orders.DataBind();
                BindPage();
                litMsg.Visible = false;

            }
            else
            {
                rpt_orders.Visible = false;
            }
        }
Beispiel #4
0
        /// <summary>
        /// 页面初始化
        /// </summary>
        private void PageInit()
        {
            Eyousoft_yhq.BLL.BPlanIns bll = new Eyousoft_yhq.BLL.BPlanIns();

            #region 查询实体
            var serchModel = new Eyousoft_yhq.Model.MPlanInsSer() { OperatorID = HuiYuanInfo.UserID };
            pageIndex = UtilsCommons.GetPagingIndex("Page");
            #endregion

            var list = new Eyousoft_yhq.BLL.BPlanIns().GetList(pageSize, pageIndex, ref recordCount, serchModel);

            if (list != null && list.Count > 0)
            {
                this.rpOrder.DataSource = list;
                this.rpOrder.DataBind();
                BindPage();
            }
            else
            {
                Literal1.Text = "<tr align=\"center\"> <td colspan=\"11\">没有相关数据</td></tr>";
            }
        }