'System.Configuration.ConfigurationManager.AppSettings' is a 'property' but is used like a 'method'
<p>Configuration File</p>

<pre><code>&lt;add key="ObjConn" value="Provider=SQLOLEDB;Persist Security Info=True;User
ID=OMembers;PWD=OMembers;Initial Catalog=Omnex2007;Data Source=192.168.100.131"/&gt;
</code></pre>

<p>C# Code</p>

<pre><code>strconnection = System.Configuration.ConfigurationManager.AppSettings("ObjConn");
sqlcon = new SqlConnection(strconnection);
</code></pre>
