示例#1
0
        private void LoadDataGrid()
        {
            List <Cliente> clientes = repoCliente.GetClientesByFilter(txtNombre.Text, txtApellido.Text, txtNroDocumento.Text, txtEmail.Text);
            BindingSource  binding  = new BindingSource(clientes, "");

            this.dataGridViewClientes.DataSource = binding;
        }