private void txtFiltrar_TextChanged(object sender, EventArgs e) { cli.Nome = txtFiltrar.Text; dgvConsultaCli.DataSource = cliDAL.ConsultarPorNome(cli); }
private void txtFiltrar_TextChanged(object sender, EventArgs e) { cli.Nome = txtFiltrar.Text; dgvConsultaCli.DataSource = cliDAL.ConsultarPorNome(cli); }