title: Can I use same SQL connection string multiple times in my application?
body: <p>I am new to SQL. I am building application using C# which uses local SQL Server to read/write data. I only have one database and the connection string is always the same when I connect to SQL Server.</p>
  
  <p>I have 9 windows forms in my project application and each form uses the same connection string and in some forms I use the same connection multiple times. Can I use the same connection string multiple times in the same form ? Thank you </p>
  
  <p>Here is the connection string:</p>
  
  <pre><code>SqlConnection cn = new SqlConnection(@"Data Source=localhost; AttachDbFilename=E:\myDB\DB1.mdf; trusted_connection=yes
  </code></pre>