dotnetmonitor.com

 
Index
Previous
Next

 

One of the most important parts when databinding is for the list to support change notifications. This is only important if you want the DataGridView to be updated when the list changes such as add, updates and deletes. Only datasources that implement the IBindingList support change notification. Lists such as arrays or collections do not support change notification by default.

 

The BindingSource component is the preferred data source because it can bind to a wide variety of data sources and can resolve many data binding issues automatically. Typically, you will bind to a BindingSource component and bind the BindingSource component to another data source or populate it with business objects. The BindingList<T> class can also be used to create a custom list based upon a type.

What is the DataGridView
Differences between the DataGridView and DataGrid controls
Highlight of features
Structure of DGV
Architecture Elements
Cells and Bands