private void btnNuevo_Click(object sender, EventArgs e) { string rpta = ""; EProducto producto = new EProducto(); if (utilites_presentation.validar(this, this.errprov) == true) { return; } producto = get_data(); rpta = bus_producto.Act_Producto(producto); // si el registro fue correcto if (string.Compare(rpta, "REGISTRO REGISTRADO/ACTUALIZADO EXITOSAMENTE") == 0) { utilites_presentation.mensaje_ok(rpta); // llenar grilla despues de actualizar this.fill_grid(); } else { utilites_presentation.mensaje_error(rpta); } }