ConfigurationSettings problem?

  • Thread starter Thread starter Bruce W.1
  • Start date Start date
B

Bruce W.1

I started a new web app.. In my Page_Load method I do this:

string strConnTxt = ConfigurationSettings.AppSettings["ConnectString"];

and the compiler gives this error:

The type or namespace name 'ConfigurationSettings' could not be found
(are you missing a using directive or an assembly reference?)

This is a very basic thing but I can't figure out why it is happening.
Does anyone know?

Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top