I want to display a custom collection in a DataGridView
in a Windows Forms app. This custom collection implements ICollection
, and IEnumerable>
You will have to manually call ResetBindings() after the data source changes if you use a container that cannot do that on your behalf.
http://msdn.microsoft.com/en-us/library/system.windows.forms.bindingsource.resetbindings.aspx
Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.