Skip to main content

DashboardViewer.ReloadDataSourceAsync(String) Method

Reloads data from the specified data source. Accepts data source component name as the parameter. The operation is asynchronous.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

public Task ReloadDataSourceAsync(
    string dataSourceComponentName
)

Parameters

Name Type Description
dataSourceComponentName String

A String value that specifies the data source component name.

Returns

Type Description
Task

The task object that is the asynchronous operation.

Remarks

The following code snippet reloads the Extract data source:

dashboardViewer1.ReloadDataSourceAsync("dashboardExtractDataSource");
See Also