コード例 #1
0
 protected void TxtFAcc_TextChanged(object sender, EventArgs e)
 {
     try
     {
         TxtFAccName.Text = BD.AccName(TxtFAcc.Text, TxtFPRD.Text, TxtFPRD.Text, Session["BRCD"].ToString());
         TxtTAcc.Focus();
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }
コード例 #2
0
 protected void TxtFAcc_TextChanged(object sender, EventArgs e)
 {
     try
     {
         if (TxtTAcc.Text != "" && (Convert.ToInt32(TxtFAcc.Text) > Convert.ToInt32(TxtTAcc.Text)))
         {
             WebMsgBox.Show("Invalid FROM and TO Account Number....!", this.Page);
             TxtFAcc.Text     = "";
             TxtTAcc.Text     = "";
             TxtFAccName.Text = "";
             TxtTAccName.Text = "";
             TxtFAcc.Focus();
             return;
         }
         TxtFAccName.Text = BD.AccName(TxtFAcc.Text, TxtFPRD.Text, TxtTPRD.Text, Session["BRCD"].ToString());
         TxtTAcc.Focus();
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }