Click here to Skip to main content
15,900,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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. :)
Posted

1 solution

is there color present in your Excel file ??
 
Share this answer
 
Comments
Ariel Riyo 12-Mar-12 1:03am    
hmm. i need to export the html table which is in my webcontent to excel file

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900