protected void btnSubmit_Click(object sender, EventArgs e) { ProfileService.ServiceSoapClient client = new ProfileService.ServiceSoapClient(); ProfileService.Profile profile = new ProfileService.Profile(); profile.Name = txtName.Text; profile.Email = txtEmail.Text; profile.PhoneNo = txtPhoneNo.Text; profile.Message = txtMessage.Text; clearControls(); lblMessage.Text = client.UpdateProfileInformation(profile); }