如何直接使用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. 在MySQL数据库中打开存储为BLOB的图像
- 5. 在数据库中保存图像
- 6. 在SQLite数据库中保存图像
- 7. 图像不保存在数据库中
- 8. 图像保存在数据库中
- 9. javascript.window.open:open只在Internet Explorer中打开页面
- 10. Python的 - 打开Multible标签在Internet Explorer
- 11. 打开Internet Explorer中的InPrivate通过robotframework
- 12. 在Internet Explorer中保持打开连接(7,8,9)
- 13. 通过VBA在Internet Explorer上控制打开/保存/另存为对话框
- 14. 从数据库返回的Internet Explorer缓存数据
- 15. 使用进程生成器在Internet Explorer中打开文件Java
- 16. 无法使用Internet Explorer在SharePoint 2010中打开PDF文件
- 17. 如何打开图像并使用ImageMagick重新保存图像?
- 18. 用Internet Explorer打开HTML文件
- 19. 弹出来打开PDF在Internet Explorer
- 20. 从Google Chrome中打开Internet Explorer
- 21. 使用打开的flash图表保存图表图像
- 22. 保存图像的URL数据库表
- 23. 在Internet Explorer中未显示Wordpress图像
- 24. 如何使用JSON WebService保存数据库中的图像WP7
- 25. 打开图像标签数据库
- 26. 在Internet Explorer中缩略图无法正常打开
- 27. Internet Explorer打印
- 28. 保存数据在图像
- 29. 在asp.net中显示保存在数据库中的图像MVC
- 30. 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