I have created a setup project for my database application.
Here is the connection string
After its installation when i opened it, it is showing the following error
Access to the database file is not allowed.
How to solve it.
Here is the connection string
Code:
con.ConnectionString=@"Data Source=|DataDirectory|\data\Employees.sdf";
Access to the database file is not allowed.
How to solve it.
Comment