Author: hambi | Posted on: 12/5/2010 11:02:02 AM | Views : 398

OK I'm being stupid but don't know what I'm missing.
I want to use asp.net profile and have a profile property.
So in the webconfig for my site I've added:
<profile>
      <properties>
        <add name="Name"/>
      </properties>
</profile>
But in the code behind a page I cannot use Profile.
Visual Studio is just saying the Profile is not known in the current context.
Thus I cannot do
Profile.Name = ....
or 
x = Profile.GetPropertyValue(....)
so what am I doing wrong?

...

Go to the complete details ...