This question is locked. New answers and comments are not allowed.
Is there a way to set the database connection at runtime instead of in the app config. When we sell our software, we also provide the database, but we don't have control of the servername that the database is installed on. Typically we store the name of the database server in the registry, and set up the database connections when the application starts up.