Does End Using close an open SQL Connection

Exiting a using block calls .Dispose() on the object in question (cn in your example) which for a SqlConnection will close the connection and any open resources.

Leave a Comment