将视频文件上传到ASP.net中的数据库 [英] Upload video file to database in ASP.net

查看:247
本文介绍了将视频文件上传到ASP.net中的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想将视频文件保存到数据库中,然后再播放.
有人可以帮我吗.

在此先感谢!

Hi,
I want to save a video file in a database and after that I want play.
Can anybody please help me in this.

Thanks in advance!

推荐答案

[ ^ ]将为您提供帮助.
This[^] will help you.


希望 [
Hope this[^] might also help you.


mkgoud Ramalinga Koushik 您可以通过一些链接来关注如何保存和访问.我也建议您一些方法来如何在Asp.net中播放视频.
看看
您可以通过fileupload控件使用上载将视频文件保存在服务器文件夹中,并保存文件数据库的相应路径.此视频文件保存到服务器路径后,文件路径将存储在数据库中.
要播放文件,可以使用Media Player或任何受支持的播放器,然后为播放器提供根路径以播放文件.
这将是从数据库存储和使用媒体文件的更好方法.
mkgoud and Ramalinga Koushik given you some link to focus how to save and access. I am also suggesting you some way to how to play Video in Asp.net.
Take a look
You can save the video file in server folder by using in upload through fileupload control and save corresponding path of file Database. after this Video file will be saved in to server path and file path will be stored in your database.
For playing File you can use Media Player or any kind of supported player and then give root path to the player to play file.
This will be better way to store and Use Media File from Database.


这篇关于将视频文件上传到ASP.net中的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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