protected void uiButtonUpdate_Click(object sender, EventArgs e)
 {
     DBLayer db = new DBLayer();
     if (CurrentSchedule != 0)
     {
         db.UpdateSchedule(CurrentSchedule, Convert.ToInt32(uiDropDownListDay.SelectedValue), Convert.ToInt32(uiDropDownListClassRooms.SelectedValue),Convert.ToInt32(uiDropDownListSection.SelectedValue), uiTextBoxArDetails.Text, uiTextBoxEnDetails.Text);
     }
     else
     {
         db.AddSchedule(Convert.ToInt32(uiDropDownListDay.SelectedValue), Convert.ToInt32(uiDropDownListClassRooms.SelectedValue), Convert.ToInt32(uiDropDownListSection.SelectedValue), uiTextBoxArDetails.Text, uiTextBoxEnDetails.Text);
     }
     CurrentSchedule = 0;
     uiPanelCurrentSchedule.Visible = true;
     uiPanelCurrent.Visible = false;
     BindData();
 }