Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databasesets
Message
De
10/07/2007 15:14:50
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Databasesets
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01239054
Message ID:
01239054
Vues:
43
We have a web application that hosts multiple companies with a separate database for each. I use the databasesets and databases entries in the config file for this. On the home page I added a dropdown to pick the database set. I use the code: mmAppBase.DatabaseMgr.DatabaseSetKey=this.cboCompany.SelectedValue. This works fine at first but mmAppBase.DatabaseMgr.DatabaseSetKey seems to change at random. Is mmAppBase.DatabaseMgr.DatabaseSetKey shared ? It it possible other web sessions are changing this ? Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform