I populate the GridView.DataSource from a EntityFramework Model:
gwTimeLog.DataSource = _entities.TimeLogs;
When a new row is added to the _entities, I try to update the grid (tried using the same statement as above, setting it null, then back to _entities.TimeLogs, etc…), but the grid simply won’t update. Even though _entities.TimeLogs actually does contain the new rows.
What am I missing?
The answer is to have the gridview connected to the BindingList rather than the List.