//------------------------------------------------------------------------------------------------------------------- private void btLocalizar_Click(object sender, EventArgs e) { BLLCategoria bll = new BLLCategoria(); dgvDados.DataSource = bll.ListagemComFiltro(txtValor.Text); txtValor.Clear(); txtValor.Focus(); }