The following example shows how to edit underlying data visualized within the dashboard.
In this example, the dashboard visualizes data from the Northwind database. The Data Grid used to display dashboard's underlying data is connected to the Orders table within this database using the TableAdapter, which provides the capability to perform CRUD operations. The OrderID primary key column is used to filter the grid according to underlying values obtained using the GetUnderlyingData method. The TableAdapter.Update method updates underlying data and posts changes to the database.
The DashboardViewer.ReloadData method is called to reload data in the data source and display changed data.
In this example, the dashboard visualizes data from the Northwind database. The Data Grid used to display dashboard's underlying data is connected to the Orders table within this database using the TableAdapter, which provides the capability to perform CRUD operations. The OrderID primary key column is used to filter the grid according to underlying values obtained using the GetUnderlyingData method. The TableAdapter.Update method updates underlying data and posts changes to the database.
The DashboardViewer.ReloadData method is called to reload data in the data source and display changed data.