Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6706663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:32:49+00:00 2026-05-26T07:32:49+00:00

I added custom questions to the CreateUserWizard control and created an additional table in

  • 0

I added custom questions to the CreateUserWizard control and created an additional table in the ASPNETDB database called aspnet_UserInfo. How do I sql insert into table when the [Create User] button is clicked like they do for the username? Or do i just create the inserts separately on the button postback?

And also where is the sql statements that write the user name and password from the CreateUserWizard control?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:32:50+00:00Added an answer on May 26, 2026 at 7:32 am

    There are a couple of events that occur while your creating a new user with the CreateUserWizard control (specifically the FinishButtonClick and the CreatedUser events). You could handle either one of those events and do your custom SQL insert into your aspnet_UserInfo table in the event handler.

    This MSDN tutorial is a great resource for customizing the CreateUserWizard process.

    I don’t know of a way to find out what specific SQL statements are executed when the library functions are called to create a new user. That doesn’t mean there isn’t a way though, I just don’t know it =)

    Addition (based on comments): Considering your use-case, look in the code-behind for your “Register.aspx” file. There is a line in there (by default) that looks like this:

    FormsAuthentication.SetAuthCookie(RegisterUser.UserName, False)
    

    Just delete that line and you’ll be good – your Admin will continue to be logged in as himself after creating the new user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I added custom named styles to the app.xaml. I created an external resource dictionary
If have created a custom role within SqlServer which I added to the db__denydatareader
UPDATED: Added one more question (Question #4). Hi all, I'm building myself a custom
I added a custom install action to my installer to add one of my
I added some custom fields (public booleans) to the global class in global.asax.cs which
I added a custom validation method to validate a password. However, it does not
I have added a custom action to the CustomList type. For testing purposes I
In Silverlight 3.0 I have added a custom behavior to some UIElement in Code
I am using jquery validation plugin for form validation. I have added a custom
I added a workflow to my document library (with a custom content type) and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.