The Windows Forms DataGrid control provides a user interface to ADO.NET datasets, displaying tabular data and enabling updates to the data source.
When the DataGrid control is set to a valid data source, the control is automatically populated, creating columns and rows based on the shape of the data. The DataGrid control can be used to display either a single table or the hierarchical relationships between a set of tables.
In This Section
Reference
- DataGrid
-
Provides an overview of the DataGrid class.
- DataSource
-
Provides details about using this property to bind the DataGrid control to data.
Related Sections
See Also