dotnetmonitor.com |
|
||||||||||||
| Binding data to the
DataGridView control is straightforward and intuitive, and in many cases it is
as simple as setting the DataSource property. When you bind to a data source
that contains multiple lists or tables, you need to set the DataMember property
to a string to specify the list or table to bind to.
The DataGridView control supports the standard Windows Forms data binding model, so it will bind to instances of classes described in the following list:
Any class that implements the IList interface, including one-dimensional arrays. Any class that implements the IListSource interface, such as the DataTable and DataSet classes. Any class that implements the IBindingList interface, such as the BindingList class. Any class that implements the IBindingListView interface, such as the BindingSource class. |
||||||||||||
|
||||||||||||