The data connection dialog is a database tool component released with Visual Studio. It allows users to build connection strings and to connect to specific data sources. Its source code has been released on Code Gallery.

It’s very useful, but the only problem is that its UI is always in English, regardless of the fact that it’s run under a localized version of Windows.
Maybe I missed some tricks?
I tried to use it in a WPF app:
DataConnectionDialog dcd = new DataConnectionDialog();
DataConnectionConfiguration dcs = new DataConnectionConfiguration(null);
dcs.LoadConfiguration(dcd);
dcd.SelectedDataSource = DataSource.SqlDataSource;
dcd.SelectedDataProvider = DataProvider.SqlDataProvider;
...
if (DataConnectionDialog.Show(dcd) == System.Windows.Forms.DialogResult.OK)
{
...
}
Bad news: It’s not localized by default
Good news: The project is easy localizable by adding the resources for the language that you need.