I am using visual studio 2008 to develop the web application. but I am not using the login controls in asp.net for logging in of users.I created my own new user registration aspx page and login page.i have my own sql database.logged in user details are now successfully entered into the database.
forgot password and change password also , i wrote code myself without using its controls.
but authentication is windows.
I want to make it form authentication and validate the users using membership provider .I also want to assign two roles-administrator and user.
But i don't have any idea how can i do it.
please anyone help me to create my own membership provider and how to assign roles