Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very confused about asp-sql server connections
Message
De
28/07/2003 08:31:50
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
 
 
À
26/07/2003 05:38:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00813730
Message ID:
00814040
Vues:
14
You should always close the connection once you're done with it. Otherwise it will takes eat up your server's memory. Best thing to do is to open the connection, do what you have to do and then close the connection.

If you have only one database that you use, you shouln't have to use more than one connection though. You will have to use more than one command/recordset objects if you have more than one request for sure,but then again you should always close them as soon as you're done with them, especialy the recordsets.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform