protected void Finish_Click(object sender, EventArgs e) { saveLocal(); try { loan.Finish(l); } catch (Exception ex) { visabaleStep(ex.Message.Split('@')[1], ex.Message.Split('@')[0]); } }
protected void Finish_Click(object sender, EventArgs e) { saveLocal(); try { loan.Finish(l); Session["Value"] = status; ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('The Report Was Approved'); window.location = '" + Page.ResolveUrl("~/ManagerFolder/ClientManagment.aspx") + "';", true); } catch (Exception ex) { string id = ""; if (ex.Message.Split('@').Length > 2) { id = ex.Message.Split('@')[2]; } visabaleStep(ex.Message.Split('@')[1], ex.Message.Split('@')[0], id); } }