SQL login form Help

Lums

Member
Joined
Feb 9, 2010
Messages
22
Programming Experience
Beginner
ok so i have a database which can be accesed by my program and i want to program a basic login form which wen a button is clicked, reads the username and password from 2 separate textboxes and searches for those entities in a table in my database.
Now since my database with have multiple usernames i want the program to check the entire table for a match rather than singling out a particular row. how would i go about coding this?

thanks
this is a random and ruff image of what i mean

AccessTable2.jpg
 
As Matt pointed out, the link I provided is to the VB version. At the top of that page is a link to the C# version, which, in turn, has a link back to the VB version. It's always a good idea to read the information in full.
 
Perhaps I'm misunderstanding the original post but how are you connecting to the database in the first place to see if the user is valid?
 
Perhaps I'm misunderstanding the original post but how are you connecting to the database in the first place to see if the user is valid?

The link I provided covers that too.
 
Back
Top