ConfigurationSettings problem?

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top