예제 #1
0
        /// <summary>
        /// 页面初始化
        /// </summary>
        /// <param name="id">操作ID</param>
        protected void PageInit(string id)
        {
            EyouSoft.BLL.SourceStructure.BSource bll = new EyouSoft.BLL.SourceStructure.BSource();
            //EyouSoft.Model.SourceStructure.MRoute Model= bll.GetRouteModel(id);
            pageIndex = Utils.GetInt(Request.QueryString["Page"], 1);
            IList <EyouSoft.Model.SourceStructure.MTourOnCount> List = bll.GetSTModelList(id, this.SiteUserInfo.CompanyId, pageIndex, pageSize, ref recordCount);

            if (List != null && List.Count > 0)
            {
                this.RptList.DataSource = List;
                this.RptList.DataBind();
                BindPage();
            }
            else
            {
                this.Label1.Text = "<tr class=\"odd\"><td height=\"30px\" colspan=\"9\" align=\"center\">暂无交易信息</td></tr>";
            }
        }