title: How to change SQL connection strings data source?
body: <p>I'm beginner in C# and SQL Server.  Currently I’m developing a program, the problem is my database file is in DB folder inside project folder.  When I try to detach the database file in SQL Server Management Studio it gives an error:</p>
  
  <pre><code>"Data Source=localhost;Initial Catalog=test;Integrated Security=true"
  </code></pre>
  
  <p>When I the change data source to this</p>
  
  <pre><code>"Data Source=db/test.mdf;Initial Catalog=test;Integrated Security=true"
  </code></pre>
  
  <p>it gives an error.  I don’t know how to insert database file with project to InstallShield to create setup file.</p>