How to set currency to a cell (€) in NPOI 2.2 in XLSX

Feb 20, 2016 at 10:07 PM
Edited Feb 21, 2016 at 8:09 AM
Hi,

I been a while trying to get a currency symbol (€) before the number?
        wb.CreateDataFormat().GetFormat("$#,##0.00_);($#,##0.00)");

        row.CreateCell(2).SetCellValue(Prijsex);   //C2
does not work.

Please help
Sat at 3:14 PM
Hi,

The type 'Prijsex" must be a double