2

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?

1 Answer 1

3

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/

Sign up to request clarification or add additional context in comments.

1 Comment

how about username ?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.