如何将数据存入数据库? [英] How put a file in filed of databse?
本文介绍了如何将数据存入数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以上帝的名义
大家好
每个人都可以告诉我怎样才能把请在一个表的字段中显示一个文件(如图像,视频......)?
请为我描述。
提前感谢
解决方案
您好,
以下是提供有关如何保存图像文件的详细信息的链接,请参考并告诉我是否知道帮助,
在SQL Server中存储或保存图像
[ ^ ]
谢谢,
Hitesh
更好的选择是将文件保存在项目的文件夹中,并将该路径保存在数据库中。
OR
查看这些链接
链接1
Link 2
in the name of god
hi everyone
can everyone tell me how can i put a file(like image,video,...) in one table's field?
please describe for me.
thanks in advance
解决方案
Hello,
below is the link that provide detailed info about how to save image file, please refer it and let me know if it helps,
Store or Save images in SQL Server
[^]
Thanks,
Hitesh
The better option is to save the file in a folder in your project and save that path in the database.
OR
Check these links
Link 1
Link 2
这篇关于如何将数据存入数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文