How to deploy and setup C# windows application with .mdf file in visual studio 2013..
how to add .mdf file in install shield at a time of setup and deployement.
what should be connection sting in app.config file.
my application run in visual studio (development environment) but not run after deployement(.exe) . its give error related to database.
my connection string as bellow :
<add name="ConStr"
connectionString="Data Source=(Localdb)\v11.0;AttachDbFilename=|DataDirectory|\ScannerDatabase.mdf;Integrated Security=True"
providerName="System.Data.SqlClient"/>
thank you