Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When open and close connections?
Message
From
13/04/2005 11:07:21
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01004154
Message ID:
01004167
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform