This example handles the DataBinding event to bind ASPxGridView to a programmatically created DataTable object.
In this example, the grid's DataBinding event handler assigns a programmatically created DataTable object to the grid's DataSource property. To persist the object between DataBinding event occurrences, the example stores it in session state. With this technique, you do not have to recreate the object each time the DataBinding event fires.
- Default.aspx (VB: Default.aspx)
- Default.aspx.cs (VB: Default.aspx.vb)
Bind Grid View to Data at Runtime
ASPxGridView - Editing an in-memory dataset
(you will be redirected to DevExpress.com to submit your response)