【发布时间】:2011-04-28 13:12:37
【问题描述】:
我正在将数据导出到 Excel。是否可以用换行符 (alt+enter) 替换字符串中的<br/>,以便在导出到 excel 时字符串显示在同一行中的不同行上细胞。
例如:
string text = "Number One" + "`<br/>`" + "Number Two"
Excel:
Number One
Number Two
【问题讨论】:
标签: c# export-to-excel