2
Reply

How do you close sql Connection in ADO.net?

Deeksha Pandit

Deeksha Pandit

10y
908
0
Reply
    I use Using block while opening connection. it automatically disposes sql connection. I do not need to call Close() explicitly
    Using "using" block