Author: b007 | Posted on: 5/18/2010 9:24:55 AM | Views : 328

Hi,
I changed and added additional details to the CreateUserWizard, 
such as FirstName, LastName, Phone Number etc'...
[All in the first Step of the Wizard] 
Aslo, 
I created Stored Procedures to Update / Insert those Details:
(Using the UserId as a FK to the Users Table.)
Now, 
On the Create User button even I added this:

protected void Createuserwizard1_CreatedUser(object sender, EventArgs e) { ..... ..... ..... int retVal = ProfileManager.InsertItem(UserID, Createuserwizard1.FindControl("FirsrName").ToString(), Createuserwizard1.FindControl("LastName").ToString()); }Here I need to Get the UserID to send it also to the Stored Procedure to being Insert in the DB,
but because the User is hasnt been created yet, 

he doesnt have an Id.


What I can do to fi ...

Go to the complete details ...