You should use ArrayList

Search Google for Collections and generics. 
 
----------------original message-----------------
From: "aryan" sagar.k...@gmail.com
To: "Java EE (J2EE) Programming with Passion!"
java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Tue, 22 Sep 2009 01:41:23 -0700 (PDT)
-------------------------------------------------
 
 
> 
> How to get multiple values in StringBuffer object or array from result
> set?
> What i want to do is, want to access values from data base and show
> into select tag.
> For example:-
> 
> ResultSet rs;
> while (rs.next())
> {
> //Access value into String buffer array/object
> }
> 
> and show into
> 
> 
> 
> 
> 
> 
> earlier I was using array. but it is not grow able. so i want to use
> String Buffer.
> Can any one tell how can i achieved this .
> 
> Thanks in Advance!!
> Regards
> Sagar
> 
> > 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to