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 Reply
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.
Nitin SontakkePosted Aug 27, 2016, 12:27 PM