Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection Pooling Questions, Connection Objects, more
Message
De
09/05/2007 13:38:04
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01222459
Message ID:
01223898
Vues:
23
Thanks Pete!


>Hello Tracy, I have a static DataConnection class which has it's own config file containing the required connection string (hope that makes sense) , in the ctor of the class I create the connection which can then be accessed through a static GetConnection() method - don't know if this is best practice but it works for me HTH
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform