A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
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.
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 use ArrayLists in a program.
how to obtain array from arraylist
how to store and retrieve array list value in shared preference in android
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014