Skip to main content
All docs
V23.2

DataSourceManager Methods

Contains methods that allow you to manage report data sources at runtime.
Name Description
AddDataSources(XtraReport, IComponent[]) static Adds the specified data sources to a report.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDataSourceAssignables(XtraReport, Boolean) static Returns a report and its elements (subreports, controls, bands, parameters) to which a data source can be assigned.
GetDataSourceAssignables<TDataSourceAssignable>(XtraReport, Boolean) static Returns a report and its elements (subreports, controls, bands, parameters) that match the specified type and to which a data source can be assigned.
GetDataSourceAssignablesByDataSource(XtraReport, Object, Boolean) static Returns a report and its elements (subreports, controls, bands, parameters) to which the specified data source is assigned.
GetDataSources(XtraReport, Boolean) static Returns all report data sources.
GetDataSources<TDataSource>(XtraReport, Boolean) static Returns all report data sources of the specified type.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ReplaceDataSource(XtraReport, Object, Object, Boolean) static Replaces a report’s current data source with the specified data source.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also