When you want to destroy the connection instance, call Dispose. When you
want only to close the connection, call Close.
There is not much difference as Cor mentioned, however, in the future the
behaviour might change.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"z. f." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> must i call connection.dispose()
> or the close() method is enough,
> on my sql server i see many connections created.
>
> TIA, z.
>
>