Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to replace a data source that uses direct database connection with a new one which is bound to a list of objects

$
0
0

This example demonstrates how to accomplish this task using the DashboardLoaded event. This approach can be used in WinForms, ASP.NET and MVC projects. Generally, all you need is to create a new data source and bind all existing items to it using the DataDashboardItem.DataSource Property. It is necessary that data members of the new data source match data members of the old one.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>