0
我使用NPOI導出了。
我設置單元格的值:
NPOI導出日期時間問題
row.CreateCell(6).SetCellValue("This is date string");
現在,EXCELL認爲這是一個文本字段,我需要一套細胞類型賽過DateTime
。
這可能嗎?
我曾嘗試:
row.CreateCell(6).SetCellValue(DateTime.Parse("This is date string"));
,但不起作用。