Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
http://www.jamonapi.com/ - a fast, free open source performance tuning api. JavaRanch Performance FAQ
Shailesh Chandra wrote:I am not sure but probably you are looking for this. int i = 0; String[] options = new String[rs.getMetaData().getColumnCount()]; while (rs.next()) { options[i] = rs.getString(i); i++; } Shailesh