0
I have a Datagridview, it loads the data but does not display them.
private void AtualizarGrid()
{
AlunoDAL alunoDAL = new AlunoDAL();
var bindingList = alunoDAL.CarregarAlunos();
AlunosColecao alunosColecao = new AlunosColecao();
var source = new BindingSource(bindingList, null);
dataGridViewAluno.DataSource = bindingList;
dataGridViewAluno.DataSource = source;
//Atualiza o Grid.
dataGridViewAluno.Update();
dataGridViewAluno.Refresh();
}
The application is Windows Forms!
– Evandro