This example demonstrates the grid bound to LinqServerModeDataSource with a LINQ to SQL data model. To enable CRUD operations, you should perform the following actions:
- Specify the ASPxGridView.KeyFieldName property value.
- Display command buttons in the grid.
- Set the data source's EnableUpdate, EnableInsert, and EnableDelete properties to
True
.
- Default.aspx (VB: Default.aspx)
- Default.aspx.cs (VB: Default.aspx.vb)
(you will be redirected to DevExpress.com to submit your response)