如何将图像保存到我的SQL数据库 [英] How to save images to the my sql database
本文介绍了如何将图像保存到我的SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我正在开发一个asp.net mvc3应用程序.我必须在mysql中创建表以将图像存储在数据库中.是否可以将图像存储到数据库中或必须存储图像路径.桌子.请给予支持
问候
prasanna
Helo,
Iam developing an asp.net mvc3 application.I had to create table in mysql to store images in database.Is it possible to store images into the database or i have to store image path.If to store image path how i hat to give in the table.Please give your support
Regards
prasanna
推荐答案
hi prasanna kumari,
检查以下链接,您可能会有所了解,
使用ASP.NET在MySQL中存储图像 [ ^ ]
问候,
Bluesathish
hi prasanna kumari,
Check this below link you may get some idea,
Storing Images in MySQL using ASP.NET[^]
Regards,
Bluesathish
.是否可以将图像存储到数据库中,或者我必须存储图像路径.
建议将图像路径存储在数据库中.
如果要存储图像路径,我该如何在表中给出
在数据库表中,它将存储为"image-path"-正常字符串作为varchar字段.
.Is it possible to store images into the database or i have to store image path.
It is suggestible to store image path in database.
If to store image path how i hat to give in the table
In database table, it would be stored as ''image-path'' - normal string as a varchar field.
这篇关于如何将图像保存到我的SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文