Click here to Skip to main content
15,902,750 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
i am have a problem in asp.net that i am retrieving some field and image also from database and export it to excel when i m export it to excel all field are in proper format and correct but in image field [system.byte] text is showing . i want image in 0xFFD8FFE000104A4649460001010100C800C80000FFED00186F73686F7020332E30 this format in excel not in [system.byte] text how can i do this.
Thanks...... :)
Posted
Comments
JoCodes 21-Oct-13 2:21am    
Can you post the code you have tried???
saurabh_ 21-Oct-13 2:47am    
Thanks...JoCodes
but my question is ( i want image in 0xFFD8FFE000104A4649460001010100C800C80000FFED00186F73686F7020332E30 this format in excel not any jpeg or png or any other format).
:)
JoCodes 21-Oct-13 3:13am    
Ohh Ok .. I got confused .. I ll update my answer soon :)
JoCodes 21-Oct-13 3:19am    
Can you post the code you tried for the export funtion? Also , Frame your question properly about what you need
Member 14073242 30-Nov-18 14:47pm    
How u solved it?

1 solution

You can refer the below link for image exporting to Excel sheet.

http://www.aspsnippets.com/Articles/Export-GridView-with-Images-from-database-to-Word-Excel-and-PDF-Formats.aspx[^]

Hope this helps
 
Share this answer
 

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