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); } }
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 = ""; TxtFAcc.Focus(); return; } TxtTAcc.Focus(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
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); } }
protected void TxtTAccName_TextChanged(object sender, EventArgs e) { try { string CUNAME = TxtTAccName.Text; string[] custnob = CUNAME.Split('_'); if (custnob.Length > 1) { TxtTAccName.Text = custnob[0].ToString(); TxtTAcc.Text = custnob[1].ToString(); } else { WebMsgBox.Show("Account Number is Invalid....!", this.Page); TxtTAcc.Text = ""; TxtTAcc.Focus(); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void TxtTAcc_TextChanged(object sender, EventArgs e) { { try { string[] AN; AN = customcs.GetAccountName(TxtTAcc.Text, TxtTAccName.Text, Session["BRCD"].ToString()).Split('_'); if (AN != null) { TxtTAccName.Text = AN[1].ToString(); } else { WebMsgBox.Show("Account Number is Invalid....!", this.Page); TxtTAcc.Text = ""; TxtTAcc.Focus(); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } } }