Hi all,

            Can I read value from the cell using some header name
instead of using the actual cell no. 

e.g instead of writing-

                        HSSFCell secondCell = row.getCell((short)1);

Can I write something like

                        HSSFCell secondCell = row.getCell("headername");

 

This similar problem like how we access the columns from the resultset.

 

Incase if there is addition or deletion of  columns in the excel, then
our code should not get affected..

 

Thanks in advance..

 

 

Regards,

Ramdas Sawant

........................................................................

Associate Consultant, Kanbay

Manikchand Ikon, South Wing 18 Dhole Patil Road
Pune  411001
INDIA

........................................................................
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited.

Reply via email to