private void bBuscar_Click(object sender, EventArgs e) { if (!(txtBusqueda.Text == "")) { _en.NombreProducto = txtBusqueda.Text; dgInventario.DataSource = _inventarioBl.MostrarInventarioPorNombre(_en); txtBusqueda.Text = string.Empty; } }
private void bBuscar_Click(object sender, EventArgs e) { if (!(txtBusqueda.Text == "")) { _en.NombreProducto = txtBusqueda.Text; dgInventario.DataSource = _inventarioBl.MostrarInventarioPorNombre(_en); txtBusqueda.Text = string.Empty; } }