Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to connect
Message
From
20/01/2005 21:34:50
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00978766
Message ID:
00979163
Views:
24
>While I used to agree with this, your opinion seems to contradict what others here recommend.<

It depends on whose opinion you're talking about. <g> I've already stated that I think you should not keep an open connection. If you connect to your backend via Web Services, you are not keeping the connection open in between hits to the Web Service.

~~Bonnie

>
>
>>Kevin,
>>
>>Connecting to the data source should be done every time you wish to select, insert, update, or delete data. As much as possible, a connection should not be established at startup and kept active all through the life of your application.
>>
>>Martin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform