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(); TxtAsOnDate.Focus(); } else { WebMsgBox.Show("Invalid Deposit Code......!", this.Page); TxtPrd.Text = ""; TxtProdName.Text = ""; return; } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void Page_Load(object sender, EventArgs e) { TxtAsOnDate.Focus(); TxtAsOnDate.Text = Session["EntryDate"].ToString(); BindBranch(); DdlBrName.SelectedValue = Session["BRCD"].ToString(); TxtBrcd.Text = Session["BRCD"].ToString(); DivGlData.Visible = false; }
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(); } TxtAsOnDate.Focus(); } catch (Exception ex) { ExceptionLogging.SendErrorToText(ex); } }