Data Binding Common Concepts
- 2 minutes to read
In this section you will find general information on data binding. Data-aware DevExpress .NET controls use the common data binding mechanism that is provided by the Microsoft .NET Framework. They are compatible with any data access technology (ADO.NET, Entity Framework, XPO, etc.) and capable to display data from any data source that implements the IList, IBindingList, or ITypedList interface. If you are familiar with the data-binding model in .NET, you can skip the corresponding documents and read the topics that are specific only to DevExpress .NET controls.
Note that the topics that describe the data binding mechanism do not cover all the issues. Please see MSDN for more information.
Tip
DevExpress data-aware controls show data from their sources as is. If you need to filter or sort records, or merge multiple data sources into one, do that at the data source level before you bind a data-aware control to this source.
Concepts
- Traditional Data Binding Methods
- Data Binding Mechanism in ADO.NET
- Data Source Configuration Wizard
- Bind to SQL Data
- Bind Controls to XML Data
- Bind to Excel Data Sources
- Bind to OData
- Bind to Entity Framework Core
- Bind to JSON data
- Bind to LINQ to SQL Classes
- Bind to XPO Sources
- Bind to WCF Data Services (Pivot Grid example)
- Bind to Azure SQL Database
- Bind Controls to Data Created at Runtime
- Unbound Sources
- Obtain Data Source Fields
- Data Annotation Attributes
Task-Based Help
- Add Unbound Data to a Data-Aware Control (XtraGrid, XtraPivotGrid)
- How to: Bind GridControl to Database and Implement Master-Detail Mode at Design Time
- How to: Bind a Control to a Database at Runtime
- How to: Bind a Control to Data Created at Runtime
- How to: Bind a Control to Data in an XML File
- How to: Add Virtual Rows Using the UnboundSource Component