My query is working when its like this:
string query = "Select Count(*) From Admins Where Username = username.Text";

But it does not work when I add the 2nd variable to the query.
string query = "Select Count(*) From Admins Where Username = username.Text AND Passname = password.Text";

Any suggestions? I have tried using &&, &, And