Reputation: 320
My Code is
<add name="conn" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Db\abc.mdb"/>
My Database Password is 123
How to write full connection String?
Upvotes: 2
Views: 4503
Reputation: 508
Example as per connectionstrings.com:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.mdb; Jet OLEDB:Database Password=MyDbPassword;
Add this to the connection string according to the requirement. Ref: https://www.connectionstrings.com/access/
Upvotes: 3