Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When open and close connections?
Message
De
13/04/2005 11:07:21
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP SP2
Divers
Thread ID:
01004154
Message ID:
01004167
Vues:
19
Hi Nadya,

Only open the connection when you need to get/send data. ADO.NET is all about disconnected DataSets.

~~Bonnie




>Hi everybody,
>
>I have a theoretical question. If we're working with SQL Server, what is the commonly-used practice: open connection at the beginning of the application and close it at the end or open and close only when sending requests to the server?
>
>I have this question for Visual FoxPro-SQL Server applications and for .NET applications.
>
>Thanks a lot in advance.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform