File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes how to display complete tables? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "how to display complete tables?" Watch "how to display complete tables?" New topic

how to display complete tables?

hashin p v

Joined: Jul 09, 2004
Posts: 1
i want to display all the rows in a table simultaneously without using result.getstring().Can anyone help me.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33113

The standard way of outputing a full table/result set of one row is:

You can't avoid getting the string from the result as that is where the data is.

And welcome to Javaranch!

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63857

"hashin p v",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how to display complete tables?
It's not a secret anymore!