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
Feedback