Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Databases _ Export to Excel

Posted by: krish Sep 28 2006, 08:53 AM


Plz help me

I'm using a datagrid.In that in one column I'm having images.When I export to excel file and opened it
The datagrid is exporting but without the images. When the file is
downloaded, it seems that the excel file was supposed to have the images
because they appear as "broken" image in the file.

This is the abbreviated approach that I am currently using.

Response.Buffer = True
Response.ContentType = "application/"
Response.Charset = ""
Me.EnableViewState = False

Dim oStringWriter As New System.IO.StringWriter()
Dim oHtmlTextWriter As New System.Web.UI.HtmlTextWriter(oStringWriter)




How can I get the images to be included in the exported file?

Posted by: Brian Chandler Sep 29 2006, 03:41 AM

What is a "datagrid"?

How does this relate to Databases (in the context of web publishing) or Server-side scripting (the other forum you posted to)?

Powered by Invision Power Board (
© Invision Power Services (