Disposing of a database?
I use dataBaseApplication to create a new databse, crearte a table in the database, then close it.
I then try to use an OleDBCommand to connect back to the database and wite more data into the table. This however won't work. It can't access the database saying it's already in use. I tried dispose, GCCollect, ... nothing seems to work.
Any ideas?
|