My requirement is User can create register with us, on successful registration we are providing them with the database on their name to access their subdomain. We are saving their details in our database.
During deployement I want to change the connection string name with their database name so that they can use their subdomain. how can i do tis??
My Project Web config file will have connectionstring like this
add name="Connectionstring" connectionstring=""
.
how can i change the name="connectionstring" dynamically with database name in webconfig as well as in every codebehind page ConfigurationManager.ConnectionStrings["ConnectionString"]
.