private void btnuUpdate_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(txtName.Text) || string.IsNullOrEmpty(txtCate.Text) || string.IsNullOrEmpty(txtDescrip.Text) || string.IsNullOrEmpty(txtPrice.Text)) { MessageBox.Show("Error: información incompleta"); } else { sbo.updateServ(txtName.Text, txtCate.Text, txtDescrip.Text, int.Parse(txtPrice.Text), serv); MessageBox.Show("¡Actualizado con exito!"); } }