Regarding How to return 2-D string [][]
hi all
I want to return 2-D String [][] at the end of following code. Also i will replace all Arraylist with string array. But i do not know what is the format for return String xx [][]
regards and thanks
pangqin
while(rs.next()){
String[] strArrayTemp=new String[numberOfColumns];
for(int i=0;i<numberOfColumns;i++){
if(rs.getObject(i+1)==null){
strArrayTemp[i]="";
}else{
strArrayTemp[i]=rs.getObject(i+1).toString();
}
}
ArrayRs.add(strArrayTemp);
}
//return (ArrayList)ArrayRs.clone();
//丂i wanna add return string [][] here to replace all arraylist
>

