标签: c# excel
我想在c#中为特定的excel编号格式。目前,它正在格式化从UI导出的所有单元格
c#
foreach (TableCell cell in e.Row.Cells) { cell.Style.Add("mso-style-parent", "style0"); cell.Style.Add("mso-number-format", "\\@"); }