placing values in an array
Posted on 2003-11-05
i have an array ar and i want to store values in it from the databse,how will i do it?
this is just a part of the code:
String arr = null;
i nt i = 0 ;
String duid = rs2.getString("userid");
String ddn = rs2.getString("dn");
String dtn = rs2.getString("tn");
arr[i] = dtn;
i want to put the values dtn in my array arr and pass it to a bean.
hop u can help me on this.thanks.