Click here to Skip to main content
15,907,326 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi All,

I am trying to display an image from asp.net web page into an excel sheet
by generating the report along with some other data.

I am getting both, the image as well as the data. The image which is in html table(web page) is set properly with height and width. But in the excel sheet, the image size is not getting displayed as it is in web page.

I am rendering the table as below:

Image2.ImageUrl = ConfigurationSettings.AppSettings["ImageUrl1"].ToString();
DisplayTbH.RenderControl(htmlWrite);


Can one please suggest me on this?

Regards,
Raj
Posted
Updated 5-Feb-11 1:06am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900