Exemplo n.º 1
0
 protected void TxtPrd_TextChanged(object sender, EventArgs e)
 {
     try
     {
         string tds = BD.GetLoanGL(TxtPrd.Text, Session["BRCD"].ToString());
         if (tds != null)
         {
             string[] TD = tds.Split('_');
             if (TD.Length > 0)
             {
             }
             TxtProdName.Text = TD[0].ToString();
             TxtPrd.Text      = TD[1].ToString();
             TxtEffectDate.Focus();
         }
         else
         {
             WebMsgBox.Show("Invalid Deposit Code......!", this.Page);
             TxtPrd.Text      = "";
             TxtProdName.Text = "";
             return;
         }
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }
Exemplo n.º 2
0
 protected void TxtSRONo_TextChanged(object sender, EventArgs e)
 {
     try
     {
         ViewDetails(TxtSRONo.Text, TxtBRCD.Text);
         TxtEffectDate.Focus();
     }
     catch (Exception ex)
     {
         ExceptionLogging.SendErrorToText(ex);
     }
 }
Exemplo n.º 3
0
 protected void TxtPeriod_TextChanged(object sender, EventArgs e)
 {
     try
     {
         CalcMatDate();
         TxtEffectDate.Focus();
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }
Exemplo n.º 4
0
 protected void TxtProdName_TextChanged(object sender, EventArgs e)
 {
     try
     {
         string   pno = TxtProdName.Text;
         string[] prd = pno.Split('_');
         if (prd.Length > 0)
         {
             TxtProdName.Text = prd[0].ToString();
             TxtPrd.Text      = prd[1].ToString();
         }
         TxtEffectDate.Focus();
     }
     catch (Exception ex)
     {
         ExceptionLogging.SendErrorToText(ex);
     }
 }