protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (CurrentSchoolYear != 0)
         {
             //BindData();
             DBLayer db = new DBLayer();
             DataSet ds = new DataSet();
             ds = db.GetSchoolYear(CurrentSchoolYear);
             if (ds.Tables[0].Rows.Count > 0)
             {
                 uiTextBoxEnName.Text = ds.Tables[0].Rows[0]["EnName"].ToString();
                 uiTextBoxArName.Text = ds.Tables[0].Rows[0]["ArName"].ToString();
                 uiCheckBoxCurrentYear.Checked = (bool)ds.Tables[0].Rows[0]["CurrentYear"];
             }
             uiPanelCurrentSchoolYear.Visible = false;
             uiPanelCurrent.Visible = true;
         }
         else
         {
             uiPanelCurrentSchoolYear.Visible = true;
             uiPanelCurrent.Visible = false;
             BindData();
         }
     }
 }