DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: 4 May 2007 00:36:57 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.datagridcontrol        back       

Thread Index
  1    joy
          2    MasterGaurav \(www.edujini-labs.com\)


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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us