[不是问题]将文件(图像,视频,音频)上传到数据库中 [英] [Not a question] upload files(images,video,audio) into database
本文介绍了[不是问题]将文件(图像,视频,音频)上传到数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨....我是asp.net的新用户...我只是明白将文件(图像,视频,音频)保存在数据目录中比将它们以二进制形式存储更好它将有助于减少内存使用量。我需要代码,
1.upload文件(图像,视频,音频)到数据目录
2.将目录中的文件(图像,视频,音频)插入数据库中
3.retrieve&view files(图像,视频,音频)
任何人都可以帮助我????
提前谢谢...
解决方案
希望此链接可以帮助您从数据库中检索二进制图像 [ ^ ]
这里的另一个链接将图像转换为二进制 [ ^ ]
a =
hi.... I am a new user of asp.net... I just understood that it is better to save the files(images,video,audio) in data directory, than store them as in binary form because it will help to reduce memory usage.. I need codes for,
1.upload files(images,video,audio) into data directory
2.insert path of files(images,video,audio) in the directory into database
3.retrieve & view files(images,video,audio)
Can anyone help me????
Thanks in advance...
解决方案
hope this link help you retrieve binary image from database[^]
Another link here convert image to binary[^]
a=
这篇关于[不是问题]将文件(图像,视频,音频)上传到数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文