title: Variable Used In DataSource C#
body: <p>I have the following code but it seems to not connect, just wondering whether i'm referring to the variable wrong?</p>
  
  <pre><code>sqlConnectionNW.ConnectionString = "Data Source=@server;Initial Catalog=Northwind;Integrated Security=True";
  </code></pre>
  
  <p>When I change it to:</p>
  
  <pre><code>sqlConnectionNW.ConnectionString = "Data Source=ISSP\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True";
  </code></pre>
  
  <p>It works fine. It's just when I change it to the variable 'server'.</p>