Progress® Telerik® Reporting R3 2017

ReportDataSource Property

Gets or sets the data source that the Report is displaying data for.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public Object DataSource { get; set; }

Property Value

Type: Object
An object that functions as a data source.

Remarks

The following data sources are valid:

If the DataSource reference contains more than one table, you must set the DataMember property a string that specifies the table to bind to. For example, if the DataSource is a DataSet or DataViewManager that contains three tables named Customers, Orders, and OrderDetails, you must specify the table to bind to.

Setting the DataSource to an object that does not implement the IListSource, IEnumerable, or IDataAdapter will cause an exception.

See Also