Groups | Blog | Home
all groups > sql server programming > february 2004 >

sql server programming : CLOSE connection


Aaron Bertrand - MVP
2/11/2004 4:50:51 PM
did you forget set con = nothing?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




[quoted text, click to view]

EMW
2/11/2004 10:08:42 PM
When I use con.Close() where con is my connection to the sql server, it
closes the connection, but how come I cannot drop the database?
It keeps telling me that the database is still in use, while it isn't.

rg,
Eric

EMW
2/13/2004 7:31:12 PM
No that comes right after con.close
I even tried con.dispose between the two, but that doesn't change
anything...




"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> schreef in bericht
news:ON9SpkO8DHA.2460@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button