All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.

DataSourceManager.GetDataSources(XtraReport, Boolean) Method

A static method that returns data sources stored in a report.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v21.2.dll

Declaration

public static IEnumerable<object> GetDataSources(
    XtraReport report,
    bool includeSubReports = false
)

Parameters

Name Type Description
report XtraReport

The report from which to return the data sources.

Optional Parameters

Name Type Default Description
includeSubReports Boolean

False

A flag that specifies whether to include data sources from the report’s subreports in the returned values.

Returns

Type Description
IEnumerable<Object>

Data sources from the specified report.

See Also