Chapter 15: Login Controls & Database Connections
Hi, this is related to mainly Chapter 15, but parts from Chapter 11-14 as well.
I am building a website similar to the one that is built in this book. I have a database in which I have several tables. On my website I can display data from the database, update and delete. Then I also have a login control, as I want users to be able to login and for example comment on news updates.
In Chapter 15, Page 543 and forward, the WSAT is used to manage accounts and such. This works perfectly for me, but now comes the "tricky" part. The WSAT automatically creates a new database with all required tables etc, but I want to use and administrate my own database. I want the users to be registrered in my database, not in the ASPNETDB database that is created. How do I do that? I have tried clicking "Exclude from project" on the ASPNETDB database, and my ConnectionString in my web.config file has my own database in it, so I don't understand what I am doing wrong.
Help would be much appreciated.
|