adding username and password in connectstring
catConnection.Create("Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + Properties.Settings.Default.networkedConString); is my current connect string, creating a .mdb file in a user-selected location. How can I add a user name and password at creation time to prevent someone from opening it in access?
Replies
Know the answer? Post it — somebody with the same question will find it here.