public static void main(String [] args){try {HSSFWorkbook work = new HSSFWorkbook(new FileInputStream("e:/aa.xls"));// 得到这个excel表格对象HSSFSheet sheet = work.getSheetAt(0); //得到第一个sheetint rowNo = sheet.getLastRowNum(); //得到行数f…
public static void main(String [] args){try {HSSFWorkbook work = new HSSFWorkbook(new FileInputStream("e:/aa.xls"));// 得到这个excel表格对象HSSFSheet sheet = work.getSheetAt(0); //得到第一个sheetint rowNo = sheet.getLastRowNum(); //得到行数f…
HSSFWorkbook操作excel读写//exlel读操作MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;Iterator<String> iter = multipartRequest.getFileNames();File fileFile = null;while (iter.hasNext()) {MultipartFile multipa…
© Copyright 2014 - 2024 柏港建站平台 ejk5.com. 渝ICP备16000791号-4