--Your format is odd, SELECT * FROM 'user1' --will not return anything. --Your select statement should point to a table, not a string SELECT * FROM [TableName] --will return all entries of the specified table --if you have A column inside of that table called username, and you want all rows where the username is user1 then you should format your command as fallows. SELECT * FROM [TableName] WHERE username = 'user1'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)