Progress® Telerik® Reporting R3 2021

Report.DataSource Property

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

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


public Object DataSource { get; set; }

Property Value

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




The following data sources are valid:

  • A DataTable
  • A DataView
  • A DataSet
  • A DataViewManager
  • Any component that implements the IListSource interface
  • Any component that implements the IEnumerable interface
  • Any component that implements the IDataAdapter interface

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.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?