Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design Question
Message
 
 
To
20/03/2009 01:07:55
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
01389713
Message ID:
01389911
Views:
59
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform