Subject: Disposing of a database?
Posted By: whamama Post Date: 12/21/2003 5:43:45 PM
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?
Reply By: xumuskiefan Reply Date: 1/7/2004 7:13:09 PM
Have you tried to change the properties of the database?

XUMUSKIEFAN
Wrox Moderator

Go to topic 109

Return to index page 973
Return to index page 972
Return to index page 971
Return to index page 970
Return to index page 969
Return to index page 968
Return to index page 967
Return to index page 966
Return to index page 965
Return to index page 964