Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically select database
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Programatically select database
Versions des environnements
Environment:
C# 5.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587897
Message ID:
01587897
Vues:
57
Hello all,

Can anybody give me some guidance on programatically selecting a different connection string for my web application. I want to be able to give the users a choice of picking a test/demo database vs. a production database. I want the code base to obviously be the same, but the database selected to be different.

How this gets accomplished is not as important, i.e. does the user just use a different URL to get to the app. Or do they use the same URL, but first get a choice as to what database they want to access, etc.

This is probably not a MM.NET related issue but I put it in this category as the application is built using MM.NET.

TIA

Bob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform