testing code:
...
ResultSet rs2 = stat.executeQuery(sql2);
if (rs2 != null) {
while (rs2.next()) {
String strcount = rs2.getString("count"
count.push(strcount);
} }
Object[] arrcount=count.toArray();
for(int i=0; i<arrcount.length; i++)
if ( start >= ((Integer)(arrcount)).intValue()))
....
I would to convert the object to int for calculation, but there is error, java.lang.String.
How can i do that? Thanks.
...
ResultSet rs2 = stat.executeQuery(sql2);
if (rs2 != null) {
while (rs2.next()) {
String strcount = rs2.getString("count"
count.push(strcount);
} }
Object[] arrcount=count.toArray();
for(int i=0; i<arrcount.length; i++)
if ( start >= ((Integer)(arrcount)).intValue()))
....
I would to convert the object to int for calculation, but there is error, java.lang.String.
How can i do that? Thanks.