Hello Richard,
Example provided in
How to: Bind to a DataTable demonstrates how to create an ObjectDataSource and set report's DataSource property at runtime.
If you need to set the data source for the Table item you can use
Report.Items.Find method to get the inner items, for example:
The attached project demonstrates the approach.
If you want to bind the DataTable at design-time you need to add ObjectDataSource component from Telerik Reporting toolbox items in Report Designer which will start the
Wizard.
ObjectDataSource.DataSource would be the assembly qualified name or Type of the data access layer (class), where the reporting engine will use System.Reflection to create the instance of the class (by using its default constructor) and to execute its method specified by the ObjectDataSource.DataMember.
More detailed information can be found in
ObjectDataSource Component help article.
Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items