Skip to content

How to load and save connections available in the Data Source Wizard.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-winforms-wizard-data-connections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for WinForms - How to Store Connections Available in the Data Source Wizard

When a user adds a new data source, the list of available connections in the Data Source Wizard is populated with connections defined in the application configuration file. This example demonstrates how to use a custom storage (a connectons.xml) file to load and save Data Source Wizard connections. For this, implement the IConnectionStorageService and register it in the Report Designer component.

The CustomSqlDataConnection class (the SqlDataConnection descendant) in this example holds the names displayed in the connection list.

Important: In this example, the connection string in the XML file is not encrypted and exposes sensitive information (a username and a password). You should protect the file storage to prevent unauthorized access in a real-world application.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

How to load and save connections available in the Data Source Wizard.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •