C# windows Form wit MSAccess Database
in C# windows form with database MSACCESS how to set database path for deploying
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Srinivas RaoPosted Oct 14, 2015, 11:27 AM
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.