Discussion Locked

JDBC Resultset

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In a web environment, how do i effectively make use of the resultset to list the results across several list pages. What are the different options available for this?

1 reply

by psujith

I dont know what tech. you use for Web Appln. Agter you get a resltset object make a vector similar to that i have show in the example.
[[1,ram,20][2,edwin,20]]

The outer vector wraps up the rows and the inner vector has the columns you have selected. Based on the size of the vectors (inner and outer) you know the number of rows selected and from inner vector you can display the results in the web page.

Hope you would have got the answer.

This discussion is closed to new replies.