As it's the first time I ask a question here I hope I'm doing it at the right place...
Here is my question : is there a way to define the LocalSqlServer string dynamically at run time?
I'm using .net 3.5, VS2008, c# and VB
and it's for web projects.
Why do I want to do this?
Because I want the LocalSqlServer connection string data (host, login, password) to be centralised and not hard code on the web.config.
Ex: these data will be stored in the server system variables, managed by the IT, the websites will have to load and get these data to create the connectring at startup, there are many websites most of them will be using the same DB for LocalSqlServer.
Has I'm using the membership tables I must specify the LocalSqlServer string.
I hope my question and what I'm trying to do is enought clear... I'm yet far from being fluent in english