将HTML彩色表导出到EXCEL
大家好.美好的一天!
我在导出由HTML标签制成的彩色表时遇到问题.我使用了网页颜色.我添加此代码以将我的html表导出到excel:
< pre>
Response.ContentType =应用程序/ms-excel"
Response.AddHeader("content-disposition","attachment; filename = test.xls")
</pre>
该表正常正常导出,但是没有颜色.
任何人都知道如何克服这个问题.请帮我.在此先感谢您,我期待您的回答.谢谢你. :)
Hello guys. GOOD DAY!
Im having a problem exporting my colored table made of HTML tags. i used web color. and i add this code to export my html table to excel:
<pre>
Response.ContentType = "application/ms-excel"
Response.AddHeader("content-disposition", "attachment; filename=test.xls")
</pre>
The table is exported normally and perfectly but there is no color.
anyone know how to overcome this problem. please help me. thank you in advance and im looking forward to your answers. thank you. :)
您的Excel文件中是否有颜色?
is there color present in your Excel file ??