只是一个简单的问题 [英] Just a quick question

查看:82
本文介绍了只是一个简单的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
只是一个简单的问题,想知道是否有人可以帮助我...

我只是想知道是否可以将图像保存到MySQL数据库中?
例如,VB.Net中的进程会将其与其他字段一起保存到MySQL数据库的表中作为记录吗?

问候,
Tom.

Hi everyone,
Just a quick question and wondering if any of you could help me...

I''m just wondering if it is possible at all to save images into a MySQL database?
For example a process in VB.Net would save it along with other fields, into a table in my MySQL database as a record?

Regards,
Tom.

推荐答案

一个简单的Google搜索就会发现此CodeProject文章:

使用ASP.NET C将图像保存在MySQL DB中# /a> [ ^ ]
A simple google search would have revealed this CodeProject article:

Save Image in MySQL DB using ASP.NET C #[^]





Blob MediumBlob 数据类型可以将图像保存为二进制信息.

保存图像就像在MySQL数据库中插入其他数据一样简单.

希望对您有帮助,

谢谢
-Amit
Hi,


Blob and MediumBlob data type can hold image as binary information.

saving your image is as simple as inserting your other data in MySQL database.

hope this will help you,

thanks
-Amit


这篇关于只是一个简单的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆