Skip to content

Bind ASPxGridView with autogenerated columns to different data sources at runtime.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/asp-net-web-forms-grid-switch-data-sources-at-runtime

Repository files navigation

Grid View for ASP.NET Web Forms - How to bind the control created in design mode to different data sources at runtime

This example demonstrates how to bind an ASPxGridView with autogenerated columns to different data sources at runtime. The grid is created in design mode.

Switch Data Source at Runtime

The project contains an ASPxRadioButtonList control that allows users to switch between three data sources (SqlDataSource).

Note that the grid's EnableViewState property is set to false to avoid exceptions when binding the grid to another data source.

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)