sql statement
hi i want to create a sql statement that gets all records from a table (admin) where the username = (what the user typed in, into the text box) and password = (what the user typed in, into the text box)
so far i have managed to come up with this, i dont know whether this is correct becuase when i debug i find my datareader object is empty
"Select * From admin Where password=? and username=?"
many thanks
|