protected void btnSubscribe_Click(object sender, EventArgs e) { string path = System.Web.HttpContext.Current.Server.MapPath("~/StoreUserInfo.xml"); ServiceReferenceAlert.AlertServiceClient c = new ServiceReferenceAlert.AlertServiceClient(); string m = c.storeUserDetails(txtName.Text, txtLastNAme.Text, txtEmail.Text, txtSymbol.Text, path); txtShow.Text = m; }
protected void btnSend_Click(object sender, EventArgs e) { string path = System.Web.HttpContext.Current.Server.MapPath("~/StoreUserInfo.xml"); ServiceReferenceAlert.AlertServiceClient c1 = new ServiceReferenceAlert.AlertServiceClient(); c1.sendAlerts(path); }