Gridline missed in ASP generated Excel

U

Utada P.W. SIU

Dear All,

I have writing a ASP that export an Excel file by using response.contentType
= "application/vnd.ms-excel"
I can export an Excel

However, the grey color gridline is missed, how can I display it again?
I won't draw table and set it's border = 1 since there have up to 65536 row
in Excel....

Thanks~
 
M

Manohar Kamath

Since you are simulating a Excel file, and not writing a real Excel file,
you can not control any properties that you would control with traditional
Excel files. However, if you are writing the file as a table, try changing
border colors, that usually makes a difference

<table bordercolor="#000000">
</table<
 
M

Manohar Kamath

From what I know about the topic -- no. Since Excel supports many rows (I
think 65,000+) and your table is limited, the only way to color beyond the
data is to actually have that many table rows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top