correct point to close a data reader in vb.net
<p>I have this code in vb.net:</p>

<pre><code>reader = myCommand.ExecuteReader
If reader.HasRows Then
    While reader.read

    End While
End If
</code></pre>

<p>should i use reader.close after the <code>End While</code> or after the <code>End If</code></p>