File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 2516
    
  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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with how to present the resultset...