You need to go to your web.config file... if you haven't got one add a Web.config file.
Make sure you've got an section like this:-
Then add a reference to System.Net.Configuration
and in code use:-
string setting = System.Net.Configuration.ConfigurationManager.AppSettings["settingName"]
or something like that. Good luck.