Hi,
I am currently getting into asp.net. I have a form with 2 .net text boxes one being txtuser and the other being txtpassword. What I am trying to do is query the database to see if the password is correct. The sql statment I would use is:-
"SELECT * FROM Users where username = " & txtUsername.text
The connectionstring is contained within web.config called conn.
I would appreciate your help please.
Many Thanks
Lee
Start Free Trial