Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Strange problem with database log in...

Hi all,

I am doing a small interface which will contain the name and password textField for user to log in.

The strange thing is, the program doesn't go through the line
rec = st.executeQuery( "SELECT * FROM tbladmin WHERE Name ='"+nField.getText()+"' AND Password = '"+pField.getText()+"'" );

If I try to display some message before this line, it showing properly but if after that line, nothing happen.

Can somebody help me in this? THANKS !!! !!!
[516 byte] By [Zephon] at [2007-11-11 6:28:36]