Programmatically Add Data Source


06-16-2009, 11:51 AM
How do you add a data source programmatically to a UserDesignerControl? Then once I create a data souce, how to I add DataSets to the DataSource?

Basically I am going to have a bunch of predefined object datasources for the users to choose from when using the UserDesignerControl.

Re: Programmatically Add Data Source


06-17-2009, 9:45 AM
Hello,

I would suggest you to go through the given below link to know about using object data providers:
www.datadynamics.com/help/ddReports/ddrconDataSetAndObjectDataSource.html

You may also want to take a look at the “CreateReport” sample shipped with the product and can be found at the location given below:
C:\Documents and Settings\User Name\My Documents\Data Dynamics\Reports\Build Number\Samples\API

Regards,
Sandeep