Dear Gurus!
In windows form application I am trying to set DataGridView.DataSource:
dc = new myEntities(); _masterObservableCollection = new ObservableCollection<object>(dc.fires); masterView = (CollectionView)CollectionViewSource.GetDefaultView(masterObservableCollection); dataGridView.DataSource = masterView;
After that I am see that dataGridVies.DataSource has more than 3000 items. But on the form I see empty DataGridView.
When I use
dataGridView.DataSource = dc.fires;all is fine and dataGridView has visible data. What is wrong?