Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #55.0K
Ranked #4K
~441 People Reached
About Me

Name: Tin Nilar OoNick: PyaythuAge: 25Eduction: Computer ScienceLocation: Yangon, MyanmarPrivate Role: Java Programmer

Interests
Hobbies: Reading, Watching TV
PC Specs
Programming Language: Java
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for Pavithra_1

Assign the result of a query to a string using 'next()' with 'while' looping while (rs.next()) { result = rs.getString(1); }

Member Avatar for jwenting
0
153
Member Avatar for shrutisoni

yes. You have to use "e.printStackTrace();" in your catch block. And check the table column names of the "content" table. e.g. labid, r1, r2, r3 String labid = rs.getString("labid"); String r1 = rs.getString("r1"); String r2 = rs.getString("r2"); String r3 = rs.getString("r3"); You have to use 'column names of content table' …

Member Avatar for pyaythu
0
113
Member Avatar for pi_lord12

I think you need "Type Cast". userInput=(String)JOptionPane.showInputDialog(null, i, "Game", JOptionPane.INFORMATION_MESSAGE, sword, null, null);

Member Avatar for pi_lord12
0
175

The End.