科帮网's Archiver
社区
›
盖世程序员
› poi读取excel表格手机号或者QQ号报错
小七
发表于 2014-4-21 20:41
poi读取excel表格手机号或者QQ号报错
poi读取excel 处理数字时报错、、、
汪星人
发表于 2014-4-21 20:44
做如下处理:
HSSFCell cell7 = row.getCell(7);
就是在java代码中把该单元格设置成String类型.
cell7.setCellType(Cell.CELL_TYPE_STRING);
String content = cell7.getStringCellValue();
页:
[1]
查看完整版本:
poi读取excel表格手机号或者QQ号报错