Exemplo n.º 1
0
 protected void Button5_Click(object sender, EventArgs e)
 {
     if (Button5.Text == "Finish")
     {
         if (web.CustToEmployeeOffer(Convert.ToString(Session["Order"])))
         {
             ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + " Renegociere trimisa clientului" + "');", true);
             Response.Redirect("Customer.aspx");
         }
         else
         {
             ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + " Eroare" + "');", true);
         }
     }
     else
     {
         Response.Redirect("Customer.aspx");
     }
 }