protected void Button1_Click(object sender, EventArgs e) { using (var derp = new ServiceReference1.ServiceClient()) { ServiceReference1.User myUser = derp.GetUserByEmail(TextBox1.Text); string type = myUser.Type.ToString(); string pw = myUser.Password; string email = myUser.Email; GetUserTextBox.Text = "Type: " + type + "\nPassword: "******"\nEmail: " + email; } }