Based on customer requests, we have decided to release the data connection dialog source code on Code Gallery last weekend:

http://code.msdn.microsoft.com/Connection/

Here, I’ll introduce it briefly to give a basic idea.

The data connection dialog is a database tool component that released with Visual Studio. In order to use the data connection dialog independently of Visual Studio, we published the standalone source code. You can integrate and redistribute the source code with your application according to the license. With the data connection dialog, you can do following tasks:

· Build/Modify connection strings.

· Customize the data connection dialog.

· Write your own custom data providers.

Following are two main snapshots:

1

Figure 1: Choose Data Source – Select data source and its data provider.

2

Figure 2: Connection Properties – Specify connection properties.

For more details, you can have a look at the following document:

http://code.msdn.microsoft.com/Connection/Release/ProjectReleases.aspx?ReleaseId=3863

Enjoy!