Hi. I am very new to db programming using vb.net.
For a project that I am developing, there are upto 25 employees who need to sign in first, only one at a time of course.
I cannot use the dataform wizard as this lets you see the records, I do not need to see them, I just need to log a user in.
Example:
frmSignIn is the startup form. If they supply a correct username/password combo, frmMain is shown, else an error message is displayed.
As I have really no idea about this, I think I am right that I could not use SQL for this such as...
So, if you cannot use SQL, what dp I use?
Thanks so much for anyone who helps
For a project that I am developing, there are upto 25 employees who need to sign in first, only one at a time of course.
I cannot use the dataform wizard as this lets you see the records, I do not need to see them, I just need to log a user in.
Example:
frmSignIn is the startup form. If they supply a correct username/password combo, frmMain is shown, else an error message is displayed.
As I have really no idea about this, I think I am right that I could not use SQL for this such as...
VB.NET:
SELECT * FROM users WHERE Username=txtusername.text AND Password.txtPassword.text ?
So, if you cannot use SQL, what dp I use?
Thanks so much for anyone who helps