title: How to create setup file(.Exe) with Database In Visual Studio 2015?
body: <p>I am new to C# . I am building application using C# windows forms and this application uses local MS SQL Express server database. 
  for I example use this connection string to connect to "MyDB1" database :</p>
  
  <pre><code>        SqlConnection con = new SqlConnection("Data Source=SqlServerName ;Initial Catalog=MyDB1;Integrated Security=True");
  </code></pre>
  
  <p>Until here everything is fine when I run my application in visual studio 2015 I can connect to database (The MyDB1 database is located in C:\DB ).</p>
  
  <p>I want to create setup file (<code>.exe</code>) and to install it in other computers. Now the problem is with database because the connection string will not match with that computers as well as the SQL server name. I don't want the other users to change the connection string I just want to make it more convenient.</p>
  
  <p>How to modify the above connection string to create <code>.exe</code> file with database that can be installed and work in other computers?</p>
  
  <p>please help me. Thank you</p>