Hello
When I imported Visual Studio's 'New User Registration Form', it seems to have imported the following into my aspx.vb file:
Protected Sub CreateUser_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim manager = New UserManager()
Dim user = New ApplicationUser() With {.UserName = userName.Text}
Dim result = manager.Create(user, Password.Text)
If result.Succeeded Then
IdentityHelper.SignIn(manager, user, isPersistent:=False)
IdentityHelper.RedirectToReturnUrl(Request.QueryString("ReturnUrl"), Response)
Else
ErrorMessage.Text = result.Errors.FirstOrDefault()
End If
End Sub
Can I remove that now because I have the following:
Protected Sub SubmitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Using conn As New OleDbConnection(System.Configuration.ConfigurationMan ...
Go to the complete details ...