Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Question
Message
 
 
À
20/03/2009 01:07:55
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
01389713
Message ID:
01389911
Vues:
60
>>The SqlConnection will close when it exits the using clause.
>
>No, I don't think so ... I'm pretty sure that even though the oConn object goes out of scope, the connection will remain open.
>
>~~Bonnie
>

It will automatically close, Bonnie. That's the beauty of using keyword in this case.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform