Binding to Data
The GridControl is a data-aware control designed to display data in a tabular format or card layout. The GridControl requires a data source. You can bind the GridControl to data from a database, an XML file, or any data created at runtime. It supports data binding to any object that implements the IEnumerable interface or its descendant (e.g., IList, ICollection). Assign a data source to the DataControlBase.ItemsSource property to bind the GridControl.
Concepts
- Binding to Data Overview
- Binding to ICollectionView
- Simplified Data Binding
- Binding to any Data Source with Virtual Sources
- Drag and Drop Data Binding
- Server Mode Overview
- LINQ Server Mode
- Instant Feedback UI Mode
- TreeListView Data Binding
- Unbound Columns
- Applying Data Annotations
- Managing Multi-Thread Data Updates
- Creating Columns and Binding Them to Data Properties
Examples
- How to Bind to Data Using the Items Source Configuration Wizard
- How to: Bind a Grid to an MS Access Database
- How to: Bind a Grid to an XML File
- How to: Display Unbound Data
- How to: Apply Data Annotations
- How to: Post Changes to SQL Database
- How to: Create a Master-Detail Grid
- How to: Bind a Grid to an ICollectionView