If you are using the aspnetdb database, then you are (or should) be using the standard MembershipProvider system.
MSDN has a pretty good tutorial which guides you through the process of setting it all up - try dstarting again from scratch, and follow the instructions. You should get there pretty easily!
Implementing a Membership Provider[
^]