Hello all,
I am having problem porting some of my old codes to the new framework and the new visual studio, like the Profile.<Field> info:
Here is a snippet of my old Web.config:
I have ported it exactly the same way in the new VS and but it can't seem to recognise the following code behind my asp page:Code:<profile> <properties> <add name="Title" /> <add name="Forename" /> <add name="Surname" /> <add name="Initials" /> </properties> </profile>
Any ideas what I'm doing wrong / what I have missed in the new frameworks?Code:txtInitials.Text = Profile.Initials;
Thanks,
Greyskull



Reply With Quote
