File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
can any body tell how to add resultset in array list
Joined: Aug 18, 2008
Oct 12, 2009 05:08:55
hai i am using
and mysql can any body tell how to store resultset in array list .i have lot of records .
i have three field sno name address how can i iterate the resultset from arraylist in table format
thanks in advance
author & internet detective
Joined: May 26, 2003
Oct 12, 2009 07:21:58
Create an object representing a row - those three fields. Then as you loop through the result set, create this object and add it to the list.
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: can any body tell how to add resultset in array list
how to store and retrieve array list value in shared preference in android
how to obtain array from arraylist
How to use ArrayLists in a program.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015