protected void Page_Load(object sender, EventArgs e)
        {
            CommonBusiness      cb = new CommonBusiness();
            ProfPresentBusiness pb = new ProfPresentBusiness();

            if (!IsPostBack)
            {
                // تمام نیمسال های قابل قبول را بر می گرداند

                System.Data.DataTable dt = cb.getActiveTerm_AdobeConnection();


                ddl_Nimsal.DataSource     = removeSummerTerms(dt);
                ddl_Nimsal.DataValueField = "Term";
                ddl_Nimsal.DataTextField  = "Term";
                ddl_Nimsal.DataBind();
                ddl_Nimsal.SelectedIndex = dt.Rows.Count - 1;

                ddl_MG.DataSource     = pb.GetMGUsers(ddl_Nimsal.SelectedItem.Value);
                ddl_MG.DataValueField = "GroupManagerUser";
                ddl_MG.DataTextField  = "GroupManagerName";
                ddl_MG.DataBind();

                manageAccessControl();
            }
        }
        protected void ddl_Nimsal_SelectedIndexChanged(object sender, EventArgs e)
        {
            ProfPresentBusiness pb = new ProfPresentBusiness();

            ddl_MG.DataSource     = pb.GetMGUsers(ddl_Nimsal.SelectedValue);
            ddl_MG.DataValueField = "GroupManagerUser";
            ddl_MG.DataTextField  = "GroupManagerName";
            ddl_MG.DataBind();
        }