如何从Oracle DB中读取blob并将其显示在asp.net C#应用程序中 [英] How to read a blob from Oracle DB and display it in asp.net C# application
本文介绍了如何从Oracle DB中读取blob并将其显示在asp.net C#应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一张图片。我想浏览该图像文件并在保存按钮单击时将其保存到Oracle DB。在打开按钮单击我想要检索相同并在网页中显示它。
任何人都可以帮助我。
谢谢和问候,
Mathi。
Hi,
I have an image. I wanted to Browse that image file and save it to Oracle DB on Save button click. And in Open button click I want to retrieve the same and display it in the web Page.
Could any one please help me in this.
Thanks & Regards,
Mathi.
推荐答案
您好,
检查
http://www.club-oracle.com/forums/insert-images-into-oracle-database-t664/ [<一个href =http://www.club-oracle.com/forums/insert-images-into-oracle-database-t664/\"target =_ blanktitle =新窗口> ^ ]
但我个人建议不要在DB中保存图像。一段时间后桌面尺寸增加
&花费大量时间,我也面临同样的问题。
更好的存储文件在服务器&仅在Table&中存储路径从该位置显示图像。
Hello,
Check for
http://www.club-oracle.com/forums/insert-images-into-oracle-database-t664/[^]
But personally i suggest not to save image in DB. Some time back table size get increase
& take huge time, i faced the same.
Better store file in server & store path only in Table & display image from that location.
您可以检查
http://www.jguru.com/faq/view.jsp?EID=1325 [ ^ ]
这篇关于如何从Oracle DB中读取blob并将其显示在asp.net C#应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文