datagrid to excel with image
Hi.
I have a datagrid which displays images in
cells. User wants to download the grid data as excel file.
Now, if datagrid contains only data, it is fine. But if it
contains some images, images are not displayed in the
excel.is it possible to display images also...
Date:4 May 2007 00:36:57 -0700
Author:
|
Re: datagrid to excel with image
> Hi.
> I have a datagrid which displays images in
> cells. User wants to download the grid data as excel file.
> Now, if datagrid contains only data, it is fine. But if it
> contains some images, images are not displayed in the
> excel.is it possible to display images also...
What do you mean by "download the grid data as excel file"? Are you trying
to use the more-popular choice of setting the content-type as
"application/vnd.ms-excel", then what I think you are missing is the
"absolute URL" of the images.
If you are using only relative paths, Excel will search for the images in
the local folder of the target machine... use absolute URLs -- like
"http://..." Note that the way that these excel files are generated only
refer to the image and not embed them within.
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Date:Tue, 8 May 2007 23:14:11 +0530
Author:
|