private void textBox9_TextChanged(object sender, EventArgs e) { if (textBox9.Text != "") { dataGridView1.DataSource = Repo.Buscar("Maquinaria", textBox9.Text); dataGridView1.ClearSelection(); } }
private void Caja_Usu_TextChanged(object sender, EventArgs e) { if (textBox6.Text != "") { DataTable Consultar = Repo.Buscar("Cliente", textBox6.Text); dataGridView1.DataSource = Consultar; dataGridView1.ClearSelection(); } }