The OleDbConnection class implements
IDisposable[
^] so you can use the
using keyword. This means that when the using block goes out of scope, the connection will clean up after itself. Read
this[
^] article to get a basic understanding of the IDisposable interface.