add alot of users thru createuserwizard

C

Cirene

I am using the createuserwizard. How do I allow them to (1) create the user
then (2) clear the form and let them enter the next user?

Right now it goes to teh "Complete" step (which I cant seem to delete.) I
tried writing code like this but it didn't seem to work.... It left several
textboxes alone and then the "Previous" button showed up out of nowhere.

Protected Sub ContinueButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Me.CreateUserWizard1.ActiveStepIndex = 0 ' go back to the
first step

For Each c As TextBox In CreateUserWizard1.Controls ' clear out
all fields
c.Text = ""
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,045
Members
48,769
Latest member
Clifft

Latest Threads

Top