Hi,
Profile is about .Net Membership. You can learn on it and you will kown about more.
Profile is to store the information on users who can be login user or anonymous user.
1. Configure in Web.Config. You can set <anonymousIdentification enabled="true"/> to permit all of the user use profile, and the information of it will be stored in database. The make-up "allowAnonymous=True" can allow using profile for anonymous user.
<anonymousIdentification enabled="true"/>
<profile>
<properties>
<add name="FirstName" allowAnonymous="true"/>
<add name="LastName" allowAnonymous="true"/>
<add name="LastVisited" allowAnonymous="true"/>
<add name="Work" allowAnonymous="true"/>
<add name="Education" allowAnonymous="true"/>
</properties>
</profile>
As to login user, you have to use the membership controls, such as Login.
2. Via Profile.FirstName = "username", you can set the value to this profile.
As to retrieving data from profile, you can use this:
Labal1.Text = "First name: " + Profile.FirstName;
Label2.Text = "Work :" + Profile.Work;
Hope this can help.