Maby it is more clear if you just see the code. Here is my solution file:
sample_membership_provider.zip (vs 2008 solution)
Let me know if there still is anything unclear after looking at the project.
Edit: updated project, forgot to add website. You probaly need to readd the website with the correct path, because it points to my f:\projects\test folder instead of the current folder.