title: ado.net Closing Connection when using "using" statement
body: <p>I am doing my database access methods to SQL Server like this</p>
  
  <pre><code>  using (SqlConnection con = new SqlConnection(//connection string)
    {
      using (SqlCommand cmd = new SqlCommand(storedProcname, con))
       {
         try{
             con.open();
             //data reader code
         }
         catch
         {
  
         }
       }
    }
  </code></pre>
  
  <p>Do I need to be closing or disposing of SqlCommand, or will the using statement take care of that for me? I just don't want connection hanging open 
  Thanks</p>