赋值的方式也分为赋显示值和赋实际值,如下:
contentPane.setCellValue(sheet号,列号,行号,值); //sheet号行号列号是从0开始
contentPane.curLGP.setCellValue(列号,行号,值);//给单元格赋显示值,非实际值,不能提交入库
contentPane.curLGP.setCellValue(单元格,null,值);//给单元格赋显示值,非实际值,不能提交入库
contentPane.setCellValue(列号,行号,值);//给单元格赋实际值,可以提交入库
contentPane.setCellValue(单元格,null,值);//给单元格赋实际值,可以提交入库