14.3. Loading Data

Reports can obtain data from different sources. The supported datasources are DataTable, DataView, DataSet, DataViewManager, and any component that implements the IListSource, IEnumerable, or IDataAdapter interface.

Telerik Reporting supports two datasource components:

  • SqlDataSource to load data from a Microsoft SQL Server, Oracle, OLE DB, or ODBC database

  • ObjectDataSource to load data from a business object, such as a Telerik OpenAccess ORM mapped entity

Both of these components are in the Telerik.Reporting namespace, so don't confuse them with Microsoft's controls.

14.3.1. Using the Datasource Components in the Report Designer

In the report designer, you just drop the datasource component of your choice from Visual Studio's ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.