hi i'm new to this site .
A first time user .
I hope i'l find answers to my queries please do help me.
I am learning
Java for the first time and I am trying to create a login application using Jframe with the editor netbeans.
the following is my code
//code
this is the output i get when i run the program
Connection is created
laconic laconic
Error :java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
here laconic is the value stored in the table. It gets printed in the System .out.println statement but doesnot get stored in a
string variable.
Not getting why ? please help
i donot understand why it gives error at the following place in the above program:
userName=rs1.getString(1);
password=rs1.getString(2);