Hi all
I'm trying to return a
string array from a db table.
Can anyone help me out
I can return an array list, but i want the results as a string array
Here's my code for array list, but having difficulty retruning a string array
while (rs.next())
{
rsList = new ArrayList();
for (int counter = 1; counter <= rsmd.getColumnCount(); counter++)
{
rsList.add(rs.getString("fieldname"));
}
returnRs.add(rsList);
}
Thanks for your help