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 :
connectionString="Data Source=(Localdb)\v11.0;AttachDbFilename=|DataDirectory|\ScannerDatabase.mdf;Integrated Security=True"
providerName="System.Data.SqlClient"/>
thank you
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Nitin SontakkeRank #264 · 9.6K reputationPosted Aug 27, 2016, 8:27 AM EDT