Is it possible to access an ACCESS DB with password protected?

  • Thread starter Thread starter ZhangZQ
  • Start date Start date
Z

ZhangZQ

Is it possible to access an ACCESS DB with password protected?
I have the user/password information of an access db, how can I access it by
System.Data.OleDb ?

Another question is, is it possible to compact a access db by a
System.Data.OleDb ?


Thank you very much!
ZhangZQ
 
username/password goes as part of the connection string when attempting to
access password protected database.
Off the top of my head:
.....User Id = <username>;password=<password>....

Not sure about compacting an Access DB, that is a specific Access function,
rather than an OleDb one...

Chris
 
Back
Top