Ejemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        LoadInit();

        if (!Page.IsPostBack)
        {
            CheckRole(_RoleCode);
            Shared.BindDDLHRMSReligion(ddlEmployee_ReligionCode);
            Shared.BindDDLHRMSBranch(ddlEmployee_BranchCode);
            Shared.BindDDLHRMSDept(ddlEmployee_DeptCode);
            Shared.BindDDLHRMSGrade(ddlEmployee_GradeCode);
            //Shared.BindDDLHRMSLeader(ddlEmployee_LeaderCode);
            if (Request.Params["action"].Equals("edt"))
            {
                LoadData();
                //Shared.BindDDLHRMSUser(ddlUser_ID, Request.Params["id"]);
            }
            else
            {
                //Shared.BindDDLHRMSUser(ddlUser_ID, "0");
            }
        }
    }