fatcodeguy
Programmer
Anyone know how I fix this. this is my function:
public int rowCount(ResultSet rs){
int numrow=0;
try{
while(rs.next()){
numrow++;
}
rs.beforeFirst();
}catch(SQLException ee){}
return numrow;
}
and I call it in another function as
int temp=rowCount(resset);
But I get that error.. anyone know how to fix it.. appreciate anyt help.. thanks
public int rowCount(ResultSet rs){
int numrow=0;
try{
while(rs.next()){
numrow++;
}
rs.beforeFirst();
}catch(SQLException ee){}
return numrow;
}
and I call it in another function as
int temp=rowCount(resset);
But I get that error.. anyone know how to fix it.. appreciate anyt help.. thanks