P
paruchurip
I wrote a ado.net application that uses dataadapter,connection and
command objects.
I have a procedure to populate dataset.I call dispose on all objects
after dataset is populate and close the connection.
I see that the application still uses connection on sqlserver(I
verified this by executing sp_who on sqlserver)
application dosen't release connection untill I close the form or end
the application.
I tried calling gc.collect but this did not work.
What is work around for this problem ?
Please suggest
command objects.
I have a procedure to populate dataset.I call dispose on all objects
after dataset is populate and close the connection.
I see that the application still uses connection on sqlserver(I
verified this by executing sp_who on sqlserver)
application dosen't release connection untill I close the form or end
the application.
I tried calling gc.collect but this did not work.
What is work around for this problem ?
Please suggest