locked
CreateUserWizard - adding a new step and entering data into the users table RRS feed

  • Question

  • User304709610 posted

    Hello,

    After adding a new step with new fields, I can not create the insertion of these new data in the users table.

    Do you have a solution to my problem? After Visiting various tutorials on this subject, there is no solution for this problem.

    Thanks a lot.

    Wednesday, August 20, 2014 3:59 AM

Answers

  • User-734925760 posted

    Hi,

    According to your description, as you add new steps to CreateUserWizard, you need to add new table to hold the new field Data. Please refer to the steps below:

    • Click the ASP.NET Configuration icon in the Solution Explorer to open up the ASP.NET Website Administration Tool.
    • In the ASP.NET Website Administration Tool click the Security tab.
    • Under the Users header click the Select authentication type link.
    • Select From the internet and click Done.                              
    • Click the Refresh icon in the Solution Explorer.
    • Notice a new folder named App_Data has been added to the project. If you expand this folder you will see the ASPNETDB.mdf database.
    • Open the Database Explorer.
    • Expand the ASPNETDB.mdf data base folder.
    • Right click on the Tables folder and select Add New Table.

    Linking the CreateUserWizard Control to Our Table by the steps below:

    • Open the Default.aspx page in Design mode.
    • Right click on the CreateUserWizard Control and click Properties.
    • In the Properties window click the Events icon.
    • Double click the FinishButtonClick event to generate the method for this event.

    For more information, please refer to the link below:

    http://www.aspnettutorials.com/tutorials/controls/add-createuser-step-asp-csharp/

    Hope it's useful for you.

    Best Regards,

    Michelle Ge

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 21, 2014 1:49 AM