protected void TxtTYYYY_TextChanged(object sender, EventArgs e)
 {
     try
     {
         int Len = 0;
         Len = TxtFYYYY.Text.Length;
         if (Len != 4)
         {
             WebMsgBox.Show("Inavlid Year, Enter valid Year....!", this.Page);
             TxtTYYYY.Text = "";
             TxtTYYYY.Focus();
         }
         else if (Convert.ToInt32(TxtFYYYY.Text) != Convert.ToInt32(TxtTYYYY.Text))
         {
             WebMsgBox.Show("Invalid To Year, From year and To Year Must be same...!", this.Page);
             TxtTYYYY.Text = "";
             TxtTYYYY.Focus();
         }
         else
         {
             Btn_Report.Focus();
         }
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }
 protected void TxtTMM_TextChanged(object sender, EventArgs e)
 {
     try
     {
         int Len = 0;
         Len = TxtTMM.Text.Length;
         if (Len > 2 || Convert.ToInt32(TxtTMM.Text) > 12)
         {
             WebMsgBox.Show("Inavlid month, Enter valid month....!", this.Page);
             TxtTMM.Text = "";
             TxtTMM.Focus();
         }
         else if (Convert.ToInt32(TxtFMM.Text) > Convert.ToInt32(TxtTMM.Text))
         {
             WebMsgBox.Show("To Month should be greater than from month...!", this.Page);
             TxtTMM.Text   = "";
             TxtFMM.Text   = "";
             TxtFYYYY.Text = "";
             TxtTYYYY.Text = "";
             TxtFMM.Focus();
         }
         else
         {
             TxtTYYYY.Focus();
         }
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }