Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public bool isValidLogin(string username, string password)
- {
- // Define the Select statement.
- string selectSQL = "SELECT ('select count (*) FROM user WHERE username ='" + username + "' AND password ='" + password + "' LIMIT 1)";
- OdbcCommand SQL_Command = new OdbcCommand(SQL_String, m_databaseConnection);
- SQL_Command.ExecuteNonQuery();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement