void updateDetails() { saveLocal(); Loans2Function i = new Loans2Function(); i.Save(l); }
protected void BackSave_Click(object sender, EventArgs e) { try { loan.Save(l); BackS.Visible = true; lastP.Visible = false; } catch (Exception ex) { error1.Text = ex.Message; } }
protected void Submit_Click(object sender, EventArgs e) { saveLocal(); Loans2Function i = new Loans2Function(); i.Save(l); try { loan.Submit(l); } catch (Exception ex) { visabaleStep(ex.Message.Split('@')[1], ex.Message.Split('@')[0]); } }
protected void BackSave_Click(object sender, EventArgs e) { try { loan.Save(l); } catch (Exception ex) { error1.Text = ex.Message; } if (status == "Client") { Session["Value"] = cid; Response.Redirect("~/ClientP.aspx"); } else { //go to employee } }