Interviews2 answers
How do you close sql Connection in ADO.net?
2 Answers
Using "using" block
Mukesh KumarPosted Sep 12, 2017, 5:48 AM EDT
I use Using block while opening connection. it automatically disposes sql connection. I do not need to call Close() explicitly
Deeksha PanditPosted Jun 1, 2016, 7:48 AM EDT

