如何直接使用Internet Explorer(WinForm/WPF中的不WebBrowser控件)直接打开保存在数据库中的图像,而无需先将其保存到文件中?使用Internet Explorer保存在数据库中的打开图像
0
A
回答
1
我想,除非你创建一个网页或类似的临时文件
+0
不正确,你只需要一个处理程序返回正确的内容类型的字节[]。 http://stackoverflow.com/questions/21877/dynamically-rendering-aspimage-from-blob-entry-in-asp-net – 2012-04-19 06:36:13
0
搜索的Process.Start在现场看显示图像的东西,这是不可能的...... MSDN
这为您提供在IE中打开文件的确切示例,您可能需要将图像保存到磁盘上的临时文件中
相关问题
- 1. asp.net Internet Explorer图像缓存?
- 2. 用cmd在Internet Explorer中打开标签
- 3. 强制使用Internet Explorer打开网页
- 4. 使用嵌入式PDF打开Internet Explorer
- 5. 在MySQL数据库中打开存储为BLOB的图像
- 6. Internet Explorer不保存打开文件对话框的路径
- 7. 在数据库中保存图像
- 8. 在SQLite数据库中保存图像
- 9. 图像保存在数据库中
- 10. 图像不保存在数据库中
- 11. javascript.window.open:open只在Internet Explorer中打开页面
- 12. PDF在Internet Explorer 8中未打开
- 13. 打开Internet Explorer中的InPrivate通过robotframework
- 14. Python的 - 打开Multible标签在Internet Explorer
- 15. 在Internet Explorer中保持打开连接(7,8,9)
- 16. 检索图像保存在数据库
- 17. 使用文件路径在数据库中保存图像vb10
- 18. 使用C#代码将图像保存在Informix数据库中?
- 19. 如何使用JSF在数据库中保存图像(mediumblob)?
- 20. 使用Hibernate在数据库中保存图像
- 21. 将画布另存为图像Internet Explorer
- 22. 将图像保存到数据库中
- 23. 从数据库返回的Internet Explorer缓存数据
- 24. 通过VBA在Internet Explorer上控制打开/保存/另存为对话框
- 25. 无法使用Internet Explorer在SharePoint 2010中打开PDF文件
- 26. 使用进程生成器在Internet Explorer中打开文件Java
- 27. 使用保存在数据库c中的图像路径检索图像#
- 28. 用Internet Explorer打开HTML文件
- 29. 从Google Chrome中打开Internet Explorer
- 30. 弹出来打开PDF在Internet Explorer
您已将此问题标记为C#,此处是否涉及C#?是否您希望使用C#中的代码从数据库获取图像并将其显示在Web浏览器中? – 2012-04-19 05:33:12
是的,我需要的代码是在C#中。我可以从byte []格式的数据库获取图像,但我不知道如何使用Internet Explorer显示它,而不是“WebBrowser”控件。谢谢。 – user1342669 2012-04-19 05:41:08
[动态渲染asp:来自ASP.NET中BLOB入口的图像]的可能重复(http://stackoverflow.com/questions/21877/dynamically-rendering-aspimage-from-blob-entry-in-asp-net) – 2012-04-19 06:35:12