Files to look at:

WinForms End-User Designer - How to customize the data source wizard connection string storage

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 End-User Report Designer is used.

To initialize, save and restore the connection strings in the End-User Report Designer, use the approach demonstrated in this code example.

The main idea of this approach is to create a custom connection storage service implementing IConnectionStorageService interface. Also, the SqlDataConnection class descendant (CustomSqlDataConnection) is used in this example to customize the connection names in the connections list.

Important: In this example, the connection string is not encrypted and is stored openly in an XML file, exposing potentially sensitive information (such as a password to connect to a database). Please take this issue into account when translating this implementation to a real-world business application (e.g., you may be required to use the SqlDataConnection.BlackoutCredentials method to avoid saving the user credentials to the configuration file).