View Single Post
  #1 (permalink)  
Old February 23rd, 2007, 10:03 AM
lesstalk lesstalk is offline
Registered User
Join Date: Feb 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default custom membership retrieve profile problem

        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)


i've refer to thread but
but if i didn't put this in web config :
                <add name="MobileNumber" type="String" />
                <add name="Gender" type="String" />
                <add name="Age" type="String" />
I'll get 'ProfileCommon' is not defined. how can i retrieve the mobile no, gender and age because the aspnet_profile is empty