C# 导出Excel Table td 样式

<td style="vnd.ms-excel.numberformat:@;"><s:property value="accountCode" /></td>

//1)文本:vnd.ms-excel.numberformat:@
//2)日期:vnd.ms-excel.numberformat:yyyy/mm/dd
//3)数字:vnd.ms-excel.numberformat:#,##0.00
//4)货币:vnd.ms-excel.numberformat:¥#,##0.00
//5)百分比:vnd.ms-excel.numberformat: #0.00%

转载自:http://blog.csdn.net/itdada/article/details/42550721

原文地址:https://www.cnblogs.com/szfhquan/p/7069648.html