Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to connect
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00978766
Message ID:
00979589
Vues:
20
Well everyone,

I've gotten to different answers on this;

Open the connection and keep it open, and open the
connection when you need it, then close it.

As I said in an earlier post, I dont expect to use
this app across the web anytime soon. It is primarily
a desktop app, which might later access the data on a LAN.

So I guess I will open the connection and leave it open.
I could always change that later.

Thanks for all the input!


>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
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform