If the designer report uses data source components, you can access the report's and nested data items
' DataSource properties, and modify them. For example, check the approach illustrated in the Changing the connection string dynamically according to runtime data
If a DataSource property is not set at all, the data can be retrieved and assigned at run-time.
Consider the following example:
'MyReport is a type inheriting Telerik.Reporting.Report
'if the report is designed to use a SqlDataSource as DataSource
"Data Source=(local)\SQLEXPRESS;Initial Catalog=AdventureWorks;Integrated Security=SSPI"
'if the report has a nested data item, which DataSource is not set at all
table.DataSource = GetDataNow()
Once the report is modified and ready, you can wrap it in an InstanceReportSource
and pass it to ReportProcessor instance to export the report
Let us know if you need further help.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.