如何使用Asp.net在数据库中保存和检索图像 [英] How to save and retrieve Image in Database using Asp.net
本文介绍了如何使用Asp.net在数据库中保存和检索图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友
我想了解如何使用Asp.net在数据库中存储和检索图像.
请发送我的代码.
在此先感谢您.
Hello Friends
I want to about how to store and retrieve images in database using Asp.net.
Pls Send my the code for it.
Thanks in advance.
推荐答案
与Google相比,写问题可能要快得多
http://www.shabdar.org/store-save-images-in-sql- server.html [^ ]
It was probably quicker to google than to write your question
http://www.shabdar.org/store-save-images-in-sql-server.html[^]
您在这里
链接
保存并保存从数据库读取图像 [ ^ ]
上传和存储图像数据库和图像到文件夹的路径 [我应该将图像存储在数据库还是文件系统中? [ ^ ]
使用ASP.NET 2.0将二进制文件直接存储在数据库中 [
Here you go
Links
Save & Read Image From Database[^]
Uploading and Storing Image Path to Database and Image to Folder[^]
But I recommend file-system to store/retrieve images by saving only file path in database. Because..
Discussions
Should I store images in the database or the filesystem?[^]
Storing Binary Files Directly in the Database Using ASP.NET 2.0[^]
Have a great weekend
这篇关于如何使用Asp.net在数据库中保存和检索图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文