protected void btngetQuote_Click(object sender, EventArgs e) { try { int ccity = Convert.ToInt32(Request.QueryString["ct"].ToString()); string carea = Request.QueryString["loc"].ToString(); CustomerRequestServiceClient objService = new CustomerRequestServiceClient(); objService.AddCustomerRequest(cname.Value, cmobileno.Value, cemail.Value, caddinfo.Value, hdnDateTimePref.Value, ccity, carea); ScriptManager.RegisterStartupScript(this, typeof(Page), "RaiseToast", "RaiseToast();", true); } catch { } }
protected void Page_Load(object sender, EventArgs e) { CustomerRequestServiceClient objService = new CustomerRequestServiceClient(); }