protected void uiGridViewStudentsReports_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "EditReports")
     {
         int id = Convert.ToInt32(e.CommandArgument.ToString());
         CurrentReport = id;
         DBLayer db = new DBLayer();
         DataSet ds = new DataSet();
         ds = db.GetMonthlyReport(id);
         if (ds.Tables[0].Rows.Count > 0)
         {
             uiDropDownListYear.SelectedValue = DateTime.Parse(ds.Tables[0].Rows[0]["Date"].ToString()).Year.ToString();
             uiDropDownListMonth.SelectedValue = DateTime.Parse(ds.Tables[0].Rows[0]["Date"].ToString()).Month.ToString();
             uiTextBoxArDetails.Text = ds.Tables[0].Rows[0]["ArDetails"].ToString();
             uiTextBoxEnDetails.Text = ds.Tables[0].Rows[0]["EnDetails"].ToString();
         }
         uiPanelCurrentStudents.Visible = false;
         uiPanelCurrent.Visible = true;
     }
     else if (e.CommandName == "DeleteReports")
     {
         int id = Convert.ToInt32(e.CommandArgument.ToString());
         CurrentReport = id;
         DBLayer db = new DBLayer();
         db.DeleteMonthlyReport(id);
         uiPanelCurrentStudents.Visible = false;
         uiPanelCurrent.Visible = true;
         BindData();
     }
 }