Author: mandrews1234 | Posted on: 8/21/2009 12:40:10 PM | Views : 276

I am using the membership provider and I have created my own add a user page. However, my add a user code is not working properly. Here is my vb.
Imports System.Web.Security
'if they click the add button Private Sub addUser_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles addUser.Click 'all of the input from the user Dim username As String = userNameInput.Text Dim password As String = passwordInput.Text Dim password2 As String = passwordInput2.Text Dim email As String = emailInput.Text Dim question As String = questionInput.Text Dim answer As String = answerInput.Text Dim success As Boolean = True 'the user object Dim newUser As MembershipUser 'try to create the new user Dim result As MembershipCreateStatus Try newUser = Membership.CreateUser(username, passw ...

Go to the complete details ...