<%
rSet = stmt.executeQuery("select * from csubcat where CMCat_Id ="+CMCat_Id+" ORDER BY CSCat_Des");
//reitializing the variable
int totSize = 0;
if (rSet != null) {
while (rSet.next()){
totSize++;
}
}
String desArr[] = new String[totSize];
int idArr[][] = new int[totSize][2];
rSet = stmt.executeQuery("select * from csubcat where CMCat_Id ="+CMCat_Id+" ORDER BY CSCat_Des");
counter =0;
if (rSet != null) {
while (rSet.next()){
desArr[counter] = rSet.getString("CSCat_Des");
idArr[counter][0] = rSet.getInt("CMCat_Id");
idArr[counter][1] = rSet.getInt("CSCat_Id");
counter++;
}
}
%>
| Check
More Cards | <%=mainCat%> |
|