Posted on: 4/13/2011 9:37:02 AM | Views : 353

 
Hi Could anyone help me,
I have created a number of roles within my site using asp.net securtity configuration stools, and am now implementing a page where users can register
So far I am able to caputre basic user details using the below fucntion:
Protected Sub btnRegister_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnRegister.Click 'Declare Variables and asign values Dim strUsername As String = TxtUserName.Text Dim strPassword As String = TxtPassword.Text Dim strEmail As String = TxtEmail.Text Dim strSecQ As String = Sq_ddl.SelectedValue Dim strSecA As String = Txtpa.Text 'Declare Membership create status object Dim result As MembershipCreateStatus Dim username As String = strUsername Try 'Invoke createuser method and pass strUsername, strPassword, strEmail, strSecQ, strSecA, True, result ...

Go to the complete details ...