Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

While exporting my data into excel, it is not starting with row no 1. instead it started with 2.

 
Nandhini Shanmugam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While exporting my data into excel, it is not starting with row no 1. instead it started with 2. I am using 1.3.1 version. Please help me
 
Rob Spoor
Sheriff
Pie
Posts: 20751
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

How are you exporting? And version 1.3.1 of what? Please TellTheDetails.

That said, most things in Java are 0-based. That means that if your code says row 1, that actually means the second row, because row 0 is the first row.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic