protected void ButtonUUser_Click1(object sender, EventArgs e) { string email = TextBoxEmailU.Text; string password = TextBoxPasswordU.Text; string firstName = TextBoxFirstNameU.Text; string secondName = TextBoxSecondNameU.Text; string firstLastName = TextBoxApellido1U.Text; string secondLastName = TextBoxApellido2U.Text; string address = TextBoxAddressU.Text; string enabled = ""; Boolean enabled2 = CheckBoxEnabledU.Checked; if (enabled2) { enabled = "S"; } else { enabled = "N"; } bll.updateParty2(email, firstName, secondName, firstLastName, secondLastName, address, password, enabled); Response.Redirect("CRUDUsers.aspx"); }