Using the Login control in .NET01 Apr 2007
When I first started out programming in .NET, the first obstacle I faced was setting up the database for the login control. So here it is, these steps might help you solve that problem -
- Follow the steps and create the ASPNETDB.mdf in the location of your choice. (I personally prefer dumping the tables in my application’s database itself so that I can have a relation between the generated tables and my other tables.)
- After you are done setting that up, open the web.config file and add the following in the ConnectionStrings section:
Make sure in both the connection strings the server/database name matches with the location you selected in step 2.
That should do it!