Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JDBC and Relational Databases 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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 2532
    
  10

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!
 
 
subject: Help with how to present the resultset...