I have a simple static class with a few methods in it. Each of those methods open a SqlConnection, query the database and close the connection. This way, I am sure that I al
In your code sample there is no need to call the close() method on the connection object as it will be handled automatically due to the code residing inside a using block.