title: SqlConnection namespace not found
body: <p>I'm building up a website using C#, whenever I try this </p>
  
  <pre><code>SqlConnection con = new SqlConnection ();
  </code></pre>
  
  <p>I get the error that <code>SqlConnection</code> namespace isn't found, but when I do this </p>
  
  <pre><code>System.Data.SqlClient.SqlConnection con;
  </code></pre>
  
  <p>it works.</p>
  
  <p>Tried to add reference to <code>System.Data.SqlClient</code>, but couldn't find it the references lists even though <code>System.Data</code> is added assembly in the <code>web.config</code> file.</p>