ok,
I'm lost at how to try this.... any pointers on
how to set the password of an access DB within C#?
this is what I tried:
string strDestDB2 = "NewMdb.mdb ";
string strSourceConnec t2 = "Data Source=" + strDestDB;
string strDestConnect2 = "Data Source=" + strDestDB2
+ ";Jet OLEDB:Password= "+SAPasswor d;
jetEngine.Compa ctDatabase(strS ourceConnect2,
strDestConnect2 );
John
I'm lost at how to try this.... any pointers on
how to set the password of an access DB within C#?
this is what I tried:
string strDestDB2 = "NewMdb.mdb ";
string strSourceConnec t2 = "Data Source=" + strDestDB;
string strDestConnect2 = "Data Source=" + strDestDB2
+ ";Jet OLEDB:Password= "+SAPasswor d;
jetEngine.Compa ctDatabase(strS ourceConnect2,
strDestConnect2 );
John
Comment