By default, the report connections list is populated based on the connections stored in the application configuration file. In any case, the application configuration cannot be modified at runtime, that's why the report connections list is not changed when the Reports End-User Designer is used.
To initialize, save and restore the connection strings in the Reports End-User Designer, use the approach demonstrated in this code example.
The main idea of this approach is to create a custom connection storage service (the ConnectionStorageService class descendant). Also, the SqlDataConnection class descendant (CustomSqlDataConnection) is used in this example to customize the connection names in the connections list.
Question Comments
Added By: Wolf Hermann at: 7/24/2014 11:53:44 PM
Hello! Sorry, I cant find some custom connections running this demo?
Thanks for your help, kind regards
Wolf
Hello Wolf,
To process your recent post more efficiently, I created a separate ticket on your behalf: T133798: WinForms End-User Designer - How to customize the data source wizard connection string storage code example - Cannot find connections. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.