byte i = 4;
//添加Sheet的数据
HSSFRow row = writableSheet.createRow(1);
HSSFCell cell = row.createCell(0);
cell.setCellValue("我是第5行第一个!");
//row.createCell(0).setCellValue("111");
row.createCell(1).setCellValue("222");
row.createCell(2).setCellValue("333");
row.createCell(3).setCellValue("eeeeee");
row.createCell(4).setCellValue("123455");
System.out.println("第五行的内容:"+cell.getStringCellValue());
hworkBook.write(output);
e.printStackTrace();
}finally{
try {
output.close();
ins.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}