I don't know any reliable way of ensuring all db connections have been closed, other than checking for all of them manually. You can call the Close method on all the Connection objects you have used, and set them to Nothing to ensure they are disconnected from the db.
.





Reply With Quote