title: Connect to LocalDB of other system
body: <p>I have connection string like this </p>
  
  <pre><code>_connection.ConnectionString = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\310246067\Documents\Examcard.mdf;Integrated Security=True;Connect Timeout=30";
  </code></pre>
  
  <p>Now suppose I have same DB on another system can I directly connect it to using the connection string of that DB like</p>
  
  <pre><code>_connection.ConnectionString = @"Data Source=(165.85.92.60)\MSSQLLocalDB;AttachDbFilename=C:\Users\310246185\Desktop\WorkSpace\MiniProject\Examcard.mdf;Integrated Security=True;Connect Timeout=30";
  </code></pre>
  
  <p>I have created DB in VS like this</p>
  
  <p><a href="https://i.stack.imgur.com/jZhUN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jZhUN.png" alt=""></a></p>