且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将图像保存在MS Access数据库中?

更新时间:2023-02-15 11:06:38

将图像保存在数据库中通常不是一个好主意,相反,人们通常将图像保存在磁盘上并存储它数据库中的路径.

it is generally NOT a good idea to save image in database, instead, people usually save the image on disk, and store its path in database.

如果您确实要执行此操作,请将图像的字节写入Blob列.

If you really want to do this, write the images' bytes into a Blob column.