This example demonstrates how to allow a user to use the same grid to view different data sources. Grid columns are recreated when a new data source is assigned. Please notice that the data source is unconditionally assigned on each post back / callback within the ASPxGridView.Load event handler, while columns are recreated only after switching the data source.
See also:
How to bind ASPxGridView with autogenerated columns to different data sources at runtime. The grid is created at design mode
How to bind ASPxGridView with manually created columns to different data sources at runtime. The grid is created in design mode.
How to bind ASPxGridView with autogenerated columns to different data sources at runtime. The grid is created in runtime mode
Example Comments
Added By: Kinnari Bhavsar at: 11/6/2013 2:59:12 AM
Do we have C#.NET example?