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);
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BindBr();
            string BKCD = RS.FnBl_GetBANKCode(RS);
            if (BKCD != null)
            {
                ViewState["BANKCODE"] = BKCD;
            }
            else
            {
                ViewState["BANKCODE"] = "0";
            }


            TxtFMM.Focus();
        }
    }