aspose file tools*
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 Spring in Action this week in the Spring 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: 2503
    
    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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Help with how to present the resultset...