Author: ClarkNK | Posted on: 6/21/2008 6:44:06 PM | Views : 256

I am trying to create a profile for logged on user JohnDoe.

I have a form with, for example, a textbox for entering the FirstName.  The
textbox has an ID of  "txtbxFirstName" and in the web.config file I have:

<profile>
<properties>
<add name="FirstName" type="String" serializeAs="String" defaultValue="Insert your data" />
</properties>
</profile>

So I think everything is set up to use the default membership provider.

When logged-in user JohnDoe fills out the texbbox and clicks the submit
button on the form, I run the subroutine:

Profile.FirstName = txtbxFirstName.Text

This results in an entry into the aspnet_Profile table, but the
problem I am having is that it creates a new UserID in that table that is
different from JohnDoe's UserID.  So that profile does not seem to be
Go to the complete details ...