Well, I knew how to do this before, but I totally forgot over the months. I'm trying to connect to my database using a username and password. Here's the code for just a password:
So, how can I check with a user and pass, like this:
Obviously, the above doesn't work... Thanks! :D
Code:
Dim SQLQuery = "SELECT * FROM Table WHERE User = '" & TextBox1.Text & "'"
Code:
Dim SQLQuery = "SELECT * FROM Table WHERE User = '" & TextBox1.Text & "'" And Password = '" & TextBox2.Text & "'"