【发布时间】:2016-10-30 22:55:24
【问题描述】:
我有如下的 foo 列表。如何在没有Microsoft.Office.Interop.Excel.dll的情况下将其导出到excel
public class Foo
{
public DateTime Column1 { get; set; }
public string Column2 { get; set; }
public decimal Column3 { get; set; }
public bool Column4 { get; set; }
}
【问题讨论】:
-
我很欣赏这个问题看起来略有相同,但这是不使用 MS Interop Excel 的情况,并且该解决方案在使用 excel 时非常简洁。