Microsoft.ACE.OLEDB.12.0DataDirectory functionality

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.accdb;
Persist Security Info
=False;

Connecting

This connection string (DataDirectory functionality using Microsoft.ACE.OLEDB.12.0) can be used for connections to Access 2007, Access 2010 and Access 2013.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.