Hemal Joshi

Hemal Joshi

  • NA
  • 78
  • 47.3k

How to Install C# Windows app with local db to client system

Jan 10 2018 12:19 AM
Hello,
 
I have created small window C# application in Visual Studio 2012 which include local database in it and now i want to create setup of that application with database how to create it and after creation of the setup i will install it on client pc with database how can it run successful on client PC.
 
My Connection String is:
 
SqlConnection(@"Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\Users\admin\Documents\SerialKey.mdf;Integrated Security=True;Connect Timeout=30"); 
 
Help with Code... 

Answers (3)