Hi,
I have created the csv file.The records are displaying row order.but i need coloumn order.
how to modify the code ?
for(int i = 0;i < maps.length;i++) {
Map<String, String> map = (Map<String, String>)maps[i];
sep = "";
for(int j = 0;j < labels.length;j++) {
String val = map.get(labels[i]);
out.write(sep);
out.write(""+val);
sep = ",";
}
out.write(LINEFEED);
}