This example shows how to bind the GridControl
to a collection of Record
objects. The example also demonstrates the following:
- How to assign an in-place/cell editor (Combobox) to a grid column.
- How to apply
DataAnnotation
attributes to properties of theRecord
class to specify the display name and data format of grid columns. - How to specify cell values at the data source and grid level.
- How to highlight cell values based on a specific condition.
- Data Binding - WinForms Data Grid
- Edit Data. Create Cell Editors. Validate User Input
- Data Annotation Attributes
- Appearance and Conditional Formatting
- DevExpress WinForms Cheat Sheet - Supported Data Access Technologies and Data Sources
- DevExpress WinForms Troubleshooting - Grid Control
(you will be redirected to DevExpress.com to submit your response)