protected void TxtPrd_TextChanged(object sender, EventArgs e)
 {
     try
     {
         string   GL     = BD.GetAccTypeGL(TxtPrd.Text, Session["BRCD"].ToString());
         string[] GLCODE = GL.Split('_');
         if (GLCODE[1] == "3")
         {
             ViewState["DRGL"] = GL[1].ToString();
             string PDName = customcs.GetProductName(TxtPrd.Text, Session["BRCD"].ToString());
             if (PDName != null)
             {
                 TxtPrdName.Text = PDName;
                 TxtMonth.Focus();
             }
             else
             {
                 WebMsgBox.Show("Product Number is Invalid....!", this.Page);
                 TxtPrd.Text = "";
                 TxtPrd.Focus();
             }
         }
         else
         {
             WebMsgBox.Show("Enter only Loan Product Code....!", this.Page);
             TxtPrd.Text = "";
             TxtPrd.Focus();
         }
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }
    protected void TxtPrdName_TextChanged(object sender, EventArgs e)
    {
        try
        {
            string   custno = TxtPrdName.Text;
            string[] CT     = custno.Split('_');
            if (CT.Length > 0)
            {
                TxtPrdName.Text = CT[0].ToString();
                TxtPrd.Text     = CT[1].ToString();

                string[] GLS = BD.GetAccTypeGL(TxtPrd.Text, Session["BRCD"].ToString()).Split('_');
                ViewState["DRGL"] = GLS[1].ToString();
                TxtMonth.Focus();
            }
        }
        catch (Exception Ex)
        {
            ExceptionLogging.SendErrorToText(Ex);
        }
    }