title: What is going on in this ExecuteDataset method?
body: <p>OK so I one page I find this line:</p>
  
  <pre><code>objDsCourse = SqlHelper.ExecuteDataset(ConfigurationManager.ConnectionStrings("connstr").ConnectionString, CommandType.StoredProcedure, "Course_NewReportGet_Get_Sav", objPAra)
  </code></pre>
  
  <p>And I copied it to another page to start modifying it to work there:</p>
  
  <pre><code>getData = SqlHelper.ExecuteDataset(ConfigurationManager.ConnectionStrings("connstr").ConnectionString, CommandType.StoredProcedure, "Course_NewReportGet_Get_Sav", objPAra)
  </code></pre>
  
  <p>However on the new page it underlines .ConnectionStrings saying that Non-invocable member 'System.Configuration.ConfigurationManager.ConnectionStrings' cannot be used like a method'... then why did it work in the other page??</p>
  
  <p>EDIT: OK so I found in web.config what I think it is referencing because it says </p>
  
  <pre><code>&lt;add name="ConnStr" connectionString="data source=..." /&gt;
  </code></pre>
  
  <p>Why would one page have access to this and the other not?</p>