Using the fluent API to configure Enterprise Library...
var configurationSourceBuilder = new ConfigurationSourceBuilder();
// do other configuration here
configurationSourceBuilder
.ConfigureLogging()
.LogToCategoryNamed("Category")
.SendTo.Database("Database Trace Listener")
.UseDatabase("DatabaseInstance");
// or here
var configurationSource = new DictionaryConfigurationSource();
configurationSourceBuilder.UpdateConfigurationWithReplace(configurationSource);
EnterpriseLibraryContainer.Current = EnterpriseLibraryContainer.CreateDefaultContainer(configurationSource);
If the reason you have three connection strings is that your program has to support running in three different environments (dev/test/production?), a better option might be to have a single connection string instead. Then deploy configuration files customized for each environment, so that the code is identical for all environments.