I am creating a website for a homework assignment & I need help will the login page. I am using an access database with a users table. the username and passwords are stored there. My two text boxes are txtusername & txtpassword. And I would be putting the code into a sub after the suer had clicked on a submit button. I have already created the validators, now I just need help with the VB part. We use reader in our class. I know how to pull the info from the text box but I just don't get the logical steps. If so some could help point me in the right direction I would greatly appreciate it!

Thanks so much for you help,
Kelly

plakelly
Deleted Member

Hi Kelly,

What you're looking to do is dependent on ADO.Net technology and isn't really recommended with ASP.Net 2.0. (at least not what you are trying to do with ADO.Net)

ASP.Net 2.0 has built in login controls (that have all the validators and other good stuff included for you) that are managed by administering the site, something that is quite easier and more secure but beyond the scope of this reply :)

www.asp.net has some great tutorials on ASP.Net 2.0 and login controls and a bunch of other goodies. Here are some videos:

http://www.asp.net/learn/videos/default.aspx?tabid=63
http://www.asp.net/learn/videos/view.aspx?tabid=63&id=45

Check those out and let us know how everything worked out.

Jon

Thank you for your help but my partner actually figured it out. He ended up using web controls.

Thanks again for your help.

This question has already been answered. Start a new discussion instead.