I am using VS 2005. I am trying to get the connectionstring from the Web.config file.
As per the Msdn as well as search on the google, most of the code days to use ConfigurationManager.Appsettings --> for getting the string from the file.
But when I am going deep into the System.Configuration dll, I am not able to find the ConfigurationManager class.
Please help me to reterive the connectionstring from the config file.
Here is the code that giving me issue.
lsSettings = System.Configuration.ConfigurationManager.AppSettings("ConnectionString").ToString