p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   custom membership retrieve profile problem (http://p2p.wrox.com/showthread.php?t=54494)

lesstalk February 23rd, 2007 10:03 AM

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 http://p2p.wrox.com/topic.asp?TOPIC_ID=41084 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

All times are GMT -4. The time now is 10:59 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.