Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            DateField.Text = DateTime.Today.ToShortDateString();
            DateField.DataBind();
            int pid = stafLogic.getProcessFromUserID(User.Identity.GetUserId());

            ProcessLabel.Text = new BLL.Process.ProcessLogic().GetProcess(pid).Name;

            if (!IsPostBack)
            {
                BranchDropList.DataSource = caseLogic.GetBranches();
                BranchDropList.DataBind();

                CasesDropList.DataSource = caseLogic.GetUnssingedCases();
                CasesDropList.DataBind();

                PSODropList.DataSource = stafLogic.getByRoles("PSO");
                PSODropList.DataBind();
            }
        }