I'm working on a WinForm 2.0 window on which I have a DataGridView.
The DataGridView is connected to an ObjectDataSource and the datasource of this ObjectDataSource is pointing to an array of items.
This works nicely, however, the user can use a popup to add an entry to the array. The DataGridView will not automatically detect that the underlying array has changed.
Solution: Call BindingSource.ResetBindings(..) after updating the array. This will raise an event which makes the DataGridView redraw itself.