Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'code de connection avec une base de données access2007 avec un mot de passe
- أكواد الاتصال بين قاعدة البيانات الاكسس والبرنامج
- 1- وضع القاعدة في نفس مجلد البرنامج يكون كود الربط
- |DataDirectory|مجلد مكان القاعدة
- Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\DB.accdb;Jet OLEDB:Database Password=0000;
- ******Standard security********
- Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;
- Persist Security Info=False;
- *******************************With database password***********************************************
- 'This is the connection string to use when you have an Access 2007 - 2013 database protected with a password using the "Set Database Password" function in Access.
- Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;
- Jet OLEDB:Database Password=MyDbPassword;
- *********************************************************
- DataDirectory functionality
- *********************************************************
- Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccessFile.accdb;
- Persist Security Info=False;
- //////////////////////////////////////////////////////////
- https://www.connectionstrings.com/access/
- /////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement