如何直接使用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