Re: I need HELP FAST !!!???
Posted by: chiko salta
Date: November 05, 2010 05:23PM

The problem lies here

''select * From users WHERE Username= & UsernameTextBox.Text & AND Password= & Pa' at line 1'


you are missing quotes to separate your constant string and the variables it should be

Dim sqlquary = "'select * From users WHERE Username='" & UsernameTextBox.Text & "' AND Password='" & PasswordTextBox.Text & "';"

also make sure you sanitize those inputs...wait is this client side code? this code should not contain your database connection details you need to setup server-side application to handle communication between client and the database

the client should never connect to the database directly, ever. unless they are trusted/for personal use

Options: ReplyQuote


Subject
Views
Written By
Posted
985
October 21, 2010 04:57PM
Re: I need HELP FAST !!!???
473
November 05, 2010 05:23PM
389
December 02, 2010 01:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.