ASP to Excel

A

A Fu

Hello,

I create html table in an ASP page, set Response.ContentType =
"application/vnd.ms-excel". In one cell in the html table, there's an image
tag: <td colspan="3"><img border="0" src="img/CRG_logo.gif"></td>. When excel
opens, the cell will show the little image not found icon instead of the
image itself.

I have no idea why that happens, is there a solution for this? I'd
appreciate any help, thanks.

A Fu
 
T

Tom Kaminski [MVP]

A Fu said:
Hello,

I create html table in an ASP page, set Response.ContentType =
"application/vnd.ms-excel". In one cell in the html table, there's an
image
tag: <td colspan="3"><img border="0" src="img/CRG_logo.gif"></td>. When
excel
opens, the cell will show the little image not found icon instead of the
image itself.

I have no idea why that happens, is there a solution for this? I'd
appreciate any help, thanks.

Not really an ASP issue - but did you try a fully qualified URL to the
image?

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top