Exemplo n.º 1
0
 protected void Send_Click(object sender, EventArgs e)
 {
     try
     {
         saveLocal();
         loan.Send(l);
     }
     catch (Exception ex)
     {
         visabaleStep(ex.Message.Split('@')[1], ex.Message.Split('@')[0]);
     }
 }
Exemplo n.º 2
0
 protected void Send_Click(object sender, EventArgs e)
 {
     try
     {
         saveLocal();
         loan.Send(l);
         Session["Value"] = status;
         ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('The Remarks 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);
     }
 }