Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 23rd, 2007, 09:03 AM
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)

        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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Membership Provider Scott663 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 1st, 2008 05:16 PM
Membership and Profile Providers - Mixing the Two robzyc ASP.NET 2.0 Basics 0 April 29th, 2008 03:49 AM
Export Membership Profile Data vickyc ASP.NET 2.0 Professional 0 October 11th, 2007 04:12 PM
problem with custom membership provider hertendreef ASP.NET 2.0 Professional 8 April 17th, 2007 12:11 PM
custom membership provider msrnivas General .NET 1 September 18th, 2005 04:28 AM



All times are GMT -4. The time now is 01:32 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.