wood burning stoves*
The moose likes JDBC and the fly likes Help with how to present the resultset... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Help with how to present the resultset..." Watch "Help with how to present the resultset..." New topic
Author

Help with how to present the resultset...

Peter Hammar
Ranch Hand

Joined: Mar 01, 2010
Posts: 34
Hi, all!

I'm trying to display my result from my SQL-query below.

I know that I'm connected to the DB (Oracle). I have found my query in EM.

I will, in the end, have 9 fields, not only one. I would like to present this output in one (nine later one) labels/something.

I don't get any errors, but the label is not displaying NAME.

How to proceed?

Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

You assigned to the variable namn, and later use the variable name.


OCUP UML fundamental and ITIL foundation
youtube channel
Peter Hammar
Ranch Hand

Joined: Mar 01, 2010
Posts: 34
Well....thanks for pointing that out for

Now it works!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help with how to present the resultset...
 
Similar Threads
showing resultset
Break out of a logic block using logic tags
Question about PreparedStatement
How to get a row count
How to present my resultset in an easy way?