How to fix this?
How to fix this?
Check a fix:
. . .
cmd.CommandText = "SELECT 1 FROM logininfo WHERE username = ? and StrComp([password], ?, 0) = 0"
. . .
If rd.Read
MessageBox.Show("Logged In Successfully")
Users.Show
Else
MessageBox.Show("Invalid username or password!")
End
5 people are following this question.