将图像存储在数据库中 [英] Store image in database
本文介绍了将图像存储在数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在数据库中存储图像(SQL Server 2005)?
How can I store image in database (SQL server 2005)?
推荐答案
一种存储数据的方法是将其存储在VarBinary(Max)
字段中.除此之外,您还没有为我提供足够的上下文来识别您的实际需求.
One way of storing the data would be to store it in a VarBinary(Max)
field. Beyond that, you haven''t provided enough context for me to be able to identify what your requirements actually are.
如果您只是想将位图存储在数据库中,那么还有很多那里的文章将告诉您如何做到这一点.
您只需要一个简单的Google搜索.
If you just want to store a bitmap in a database, there are plenty of articles out there that will tell you how to do that.
A simple google search is all you need.
您好,
为此,您可以使用代码参考我的答案之一
数据库中的图像
谢谢&问候
基:rose:
Hello,
for this you can refer to one of my answer with the code
Image in Database
Thanks & Regards
Radix :rose:
这篇关于将图像存储在数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文