Quote Originally Posted by NFSRacer View Post
They're queries for the database. I want them to return an individual value from the table their table. However, as I understand it, it can only return a table, correct?
No, not correct. They can do either but if they currently do return DataTables then why are you comparing the results to Strings that will obviously never match? When you create the query you get to decide what it returns.

You only need one query though. Why do you need to query the database to get the user name that you already have? Just query to get the password. If there's no match then you know that the user name doesn't exist and if there is a match then you know it does. If you want to test the user name to see if it matches something then just test what the user entered.