在excel中以字节格式导出图像 [英] export image in byte format in excel
本文介绍了在excel中以字节格式导出图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
i我在asp.net中遇到一个问题,我正在从数据库中检索一些字段和图像,并在将其导出到excel时将其导出为excel所有字段都是正确的格式并且正确但在图像字段[system.byte]文本中显示。我希望图像在0xFFD8FFE000104A4649460001010100C800C80000FFED00186F73686F7020332E30这种格式在excel中不在[system.byte]文本中我该怎么做呢。
谢谢......:)
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...... :)
推荐答案
您可以参考以下链接将图像导出到Excel工作表。
http://www.aspsnippets.com/Articles/Export-GridView-with-Images- from-database-to-Word-Excel-and-PDF-Formats.aspx [ ^ ]
Hope这有助于
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
这篇关于在excel中以字节格式导出图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文