Strange problem with database log in...
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 !!! !!!

