Dim p As ProfileCommon = ProfileCommon.Create(CreateUserWizard1.UserName, True)
p.MobileNumber = ((CType(CreateUserWizard1.CreateUserStep.ContentTe mplateContainer.FindControl("mobilenumber"), TextBox)).Text)
p.Age = ((CType(CreateUserWizard1.CreateUserStep.ContentTe mplateContainer.FindControl("age"), TextBox)).Text)
p.Gender = ((CType(CreateUserWizard1.CreateUserStep.ContentTe mplateContainer.FindControl("gender"), TextBox)).Text)
p.Save()
i've refer to thread
http://p2p.wrox.com/topic.asp?TOPIC_ID=41084 but
but if i didn't put this in web config :
<profile>
<properties>
<add name="MobileNumber" type="String" />
<add name="Gender" type="String" />
<add name="Age" type="String" />
</properties>
</profile>
I'll get 'ProfileCommon' is not defined. how can i retrieve the mobile no, gender and age because the aspnet_profile is empty