title: how use attachdbfilename in visual studio c#, to acces in my database.mdf
body: <p>I use this link to connect to my database in visual studio "c#"
  <img src="https://i.stack.imgur.com/dvFFp.jpg" alt="enter image description here"></p>
  
  <pre><code> SqlConnection direction = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\ira\Desktop\hiver 2016\mecatronique\CGC-DOMOTICS\CGC-DOMOTICS\BaseDeDonnées\BDD.mdf ;Integrated Security=True");
  </code></pre>
  
  <p>But if I use my program on another desktop, I get an error.</p>
  
  <p>I need help please, my error is in the link to access my database.</p>