Hello Bruno Michels,
To summarize this, you want to change the connectionstring at runtime, but this is quite complex, because all data providers are closely connected to the connection you use.
One of the option is changing the connection string as described in this post
. Another option is using ConfigurationManager class
// get access to dataAcess node
var c2 =(Telerik.DataAccess.Configuration.SectionHandler)ConfigurationManager.GetSection("telerik/dataAccess");
// getting the first connection from dataAccess - you could loop through all
var connectionStringName = c2.Connections.ConnectionStringName;
var config = System.Configuration.ConfigurationManager.ConnectionStrings[connectionStringName];
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items