.ldb file stays when connection is closed
From: Derrick (Derrick_no_spam_at_geostrategies.ca)
Date: 02/25/04
- Next message: Jack: "Bulk insert into SQL from a CSV File"
- Previous message: Mahesh ChandraMouli[.NET MVP]: "RE: Exception "Object must implement IConvertible." during parameterized query"
- Next in thread: Scott M.: "Re: .ldb file stays when connection is closed"
- Reply: Scott M.: "Re: .ldb file stays when connection is closed"
- Reply: Paul Clement: "Re: .ldb file stays when connection is closed"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Feb 2004 02:39:40 GMT
I am working on a vb.net app that access an MS Access Data base.
I am having a confusing problem, and was hoping to get a little
clarification.
One form creates the .mdb file and creates the tables and constraintes using
DDL and a command object using its executeNonQuery() method. When I close
the connection, the .ldb file stays. I checked the connection state and it
reports closed.
In another form, I connect to the data base, retreive information using a
datareader and close the connection. The .ldb file disappears.
Both forms create an instance of same class and call the same methods to
connect and disconnect.
So my questions are:
1. should the .ldb file disappear when the connection is closed?
2. If it should, what could cause it to remain when the connection is
closed?
Thanks for your help
Derrick
- Next message: Jack: "Bulk insert into SQL from a CSV File"
- Previous message: Mahesh ChandraMouli[.NET MVP]: "RE: Exception "Object must implement IConvertible." during parameterized query"
- Next in thread: Scott M.: "Re: .ldb file stays when connection is closed"
- Reply: Scott M.: "Re: .ldb file stays when connection is closed"
- Reply: Paul Clement: "Re: .ldb file stays when connection is closed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|