The following example demonstrates how to bind a dashboard to a DataSet populated from an XML file.
In this example, an XML file provides data about car models and corresponding prices. The data source is created for the 'Cars' data table and added to the Dashboard.DataSources collection on the first load.
To update the displayed data, the DashboardViewer.ReloadData method is called. This raises the DashboardViewer.DataLoading event and allows supplying the dashboard with updated data.