I have defined my connection String in app.config file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="CString"
connectionString="Data Source=Bilal-PC;Initial Catalog=ATMSoftware;Integrated Security=False; User Id=sa; Password=123"
providerName="System.Data.SqlClient"/>
</connectionStrings>
</configuration>
Now I want to get it into my C# class and I have tried all the methods. but I am getting an error on configuration manager.
Please help me.