Report.DataSource Property
Assembly: Telerik.Reporting (in Telerik.Reporting.dll)
Syntax
Remarks
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.