Providing Data
- 2 minutes to read
This document describes how to bind a dashboard displayed within the DashboardViewer to data. If you created the dashboard in the WinForms Dashboard Designer or using the Dashboard Designer available at Visual Studio design-time, use one of the following approaches to supply the dashboard displayed within the DashboardViewer with data.
Used Data Source | Description |
---|---|
The dashboard definition contains connection settings such as server names, database names or the entire connection strings. This information is used by the Dashboard | |
The dashboard definition contains the OLAP connection string. This information is used by the Dashboard | |
The dashboard definition contains the path to the Excel workbook/CSV file. This information is used by the Dashboard | |
In this case, the dashboard definition can contain the following settings.
| |
The dashboard definition contains the name of the class used to provide data and optionally - the data member. You need to supply the dashboard with actual data at runtime using the Dashboard | |
The dashboard definition contains the path to the data extract. This information is used by the Dashboard |
Use the DashboardViewer.ReloadData method to reload data in all dashboard data sources.