So i'm trying to move away from Session Variables. In this site I am trying to optimize it uses too many of them. I have been looking into using ASP.Net Profiles instead. I have this example I found but can't seem to get it to work for me. Am hoping someone has seen it or something like it and knows what I can do get it working.
http://www.asp.net/downloads/sandbox/table-profile-provider-samples
In the default.aspx file in the page_load event the below line gives me the error
'The name 'Profile' does not exist in the current context'
txtFirstName.Text = Profle.FirstName;
ASKER