简体   繁体   中英

getting total number of records in an excel file using jxl

I am trying to read a .xls excel file using jxl. I want to get the total number of records in the file. For this, I was using the getRows() method. But it displays the value as 8 when there are 6 total records. My aim is to read all the records from the excel file and store in a database.

Please give some code.. and the excel sheet to understand the problem in depth. http://www.javaworld.com/article/2074940/learn-java/java-app-dev-reading-and-

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM