Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            AreaManager areaManager = new AreaManager();

            areas = areaManager.SelectArea();

            LabManageManager labManageManager = new LabManageManager();

            labManages = labManageManager.SelectLabManage();

            ReSourceManager reSourceManager = new ReSourceManager();

            reSources = reSourceManager.SelectResource();

            HeadNameResourceManager headNameResourceManager = new HeadNameResourceManager();

            headNameResources = headNameResourceManager.SelectHeadNameResource();

            RequestManager requestManager = new RequestManager();

            requests = requestManager.SelectRequests();

            if (Request.Cookies["ACookies"] != null)
            {
                HiddenField1.Value = Request.Cookies["Cookies5"]["id"];
            }
            else
            {
                string msg = "No Cookies";
                Label1.Text = msg;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            CenteralLabManager centralLabManager = new CenteralLabManager();

            allcenteralLabs = centralLabManager.SelectAllWelfare();

            ReSourceManager reSourceManager = new ReSourceManager();

            reSources = reSourceManager.SelectResource();
        }