title: How would I check if the data inputted is in the table?
body: <p>Making a very simple login and password, how would i Check to see if the username &amp; password are in the database. I have a query that should select all the usernames/password that match usernames/password, but i do not know how to access the data selected
  The query is as follows:<code>string sqlQuery = &quot;SELECT * FROM user WHERE username='&quot;+ Username +&quot;' AND password='&quot;+ Password +&quot;'&quot;;</code></p>