Data Connection Dialog
Version: .NET 2
This data connection dialog is modelled to look and work as closely as possible like the data connection dialog built-into Visual Studio 2005. It can use any data provider installed into .NET and registered in machine.config. You can limit the data source options to show only the data sources which are valid for your product. It is extensible to add your own data sources and providers. It's implemented as a CommonDialog form so it can be added to your projects like any other Windows forms dialog. If the selected data source and provider are not specified it will automatically detect the data source and data provider based upon the supplied connection string. C# source code to demonstrate custom MySQL data source and data provider. It's freely redistributable!