Wednesday, October 30, 2013

Setting Password to Mdb File through C# code

Once the file is password protected, you should use the following connection string


string conString =@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="Path to your access file";Jet OLEDB:Database Password=password";











A.m.a.L Hashim

Microsoft Most Valuable Professional

My Blog - Dot Net Goodies

No comments:

Post a Comment