Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Connection String
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358780
Message ID:
01359219
Vues:
23
>How can I store a DB connection string with my C# project? I have different string determined by where I'm working at, so I'd like make it work around that.

As long as your not using any form of installer the internal configuration options work good. If you are using an installer I had problems with the local setting getting overwritten each time and wrote my own config class.

I based my configuration classes off of this article:

http://www.west-wind.com/presentations/configurationclass/configurationclass.asp
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform