C# windows Form wit MSAccess Database
in C# windows form with database MSACCESS how to set database path for deploying
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Srinivas Rao53 reputationPosted Oct 14, 2015, 7:27 AM EDT
OleDbConnection con = new OleDbConnection();
con.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\srinu\Documents\msaccess\employee.accdb;
Persist Security Info=False;";
note: mention the correct path of the database location.