protected void btn_UpdateProfile_Click(object sender, EventArgs e) { if (E_FirstName.Text == string.Empty || E_LastName.Text == string.Empty || E_Email.Text == string.Empty || E_Telephone.Text == string.Empty) { // Do nothing } else { var UpdateProfile = new TB_Usuarios { USUARIO = _Usuario, NOMBRE = _herra.Encrypt(E_FirstName.Text.ToUpper()), APELLIDOS = _herra.Encrypt(E_LastName.Text.ToUpper()), TELEFONO = _herra.Encrypt(E_Telephone.Text), EMAIL = _herra.Encrypt(E_Email.Text.ToUpper()), //FRASE = _herra.Encrypt(E_Phrase.Value.ToUpper()), }; _usu.ActualizarPerfil(UpdateProfile); } Response.Redirect("MyProfile.aspx"); }