Saturday, March 24, 2012

Web.config reading the appSetting

Hi everyone,

I'm tring to read the appSettings from my Web.config file in Visual
Studio.Net (Code behind page) and it doesn't recognize
ConfigurationSettings.AppSetting? Yet it works in my .aspx page.

Any idea?

Thank you
MazAdd:
using System.Configuration

to the top of your page

"Maziar Aflatoun" <maz88@.rogers.com> wrote in message
news:ML8tb.68760$HoK.9631@.news01.bloor.is.net.cabl e.rogers.com...
> Hi everyone,
> I'm tring to read the appSettings from my Web.config file in Visual
> Studio.Net (Code behind page) and it doesn't recognize
> ConfigurationSettings.AppSetting? Yet it works in my .aspx page.
> Any idea?
> Thank you
> Maz

0 comments:

Post a Comment