What error are you getting?

Is the cell type CELL_TYPE_STRING?  You can use cell.getCellType() to check.  
Though a wrong cell type would be a run-time error, not compiliation, I think.

-----Original Message-----
From: Subhakar Gummadi [mailto:[EMAIL PROTECTED]

I am getting a compilation error when I am using the following Code.

        HSSFRichTextString hrts1 = new
HSSFRichTextString((String)evtEntity.getEvt_lname());
        cell.setCellValue(hrts1);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to