Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to connect
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00978766
Message ID:
00979502
Views:
26
>In a .Net application, do I want to create a connection
>on application startup, or only when I'm ready to access
>the data?
>
>Thanks

Kevin,

The one thing that hasn't been mentioned here is that, when dealing with the Web, connections are generally stateless. By this, I mean that once the connection has been made and the data pulled back, the connection goes into a pool. Connections in the pool can be re-used as necessary.

I've always believed in a similiar scenario even when dealing with local VFP tables: Open them when you need them. Close them when you don't.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform