A newer version of this page is available. Switch to the current version.

Object Data Source

Use the ObjectDataSource when an object provides data at runtime or there is a method that returns the data as an object.

You can bind an object data source to a public class or its public member (property or method) that returns an object implementing the IEnumerable<T> interface. This member can either be a static or instance property (method).

You can directly assign an object data source to a report’s XtraReportBase.DataSource property if the data source implements any of the following interfaces:

The Bind a Report to an Object Data Source topic details how to prepare an object data source and bind a report to it.


Avoid using dots in created data item names - the report engine uses dots to identify data source members.

See Also