如何使用C#.NET在SQL Server中存储和检索视频和音频数据? [英] How to store and retrieve Video and Audio data in/from SQL Server using C#.NET?

查看:91
本文介绍了如何使用C#.NET在SQL Server中存储和检索视频和音频数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#在SQL Server中存储和检索Image。但我不知道是否可以存储和检索视频和音频数据。如果不可能,那么还有其他方法可以做同样的工作吗?请帮助我。

I stored and retrieved Image in/from SQL Server using C#. But I do not know whether it is possible to store and Retrieve video and audio data. If not possible, then is there any other way to do the same work? Please help me.

推荐答案

这可能但不是一个好主意。最好将这种内容保存为驱动器上的文件,而不是数据库中的文件。如果这些文件与其中的某些记录相关,请将这些文件的路径保留在数据库中。
It's possible but not a good idea. It's better to keep that kind of content as files on the drive, not in the database. Keep the paths to these files in the database if they are related to some record in it.


这篇关于如何使用C#.NET在SQL Server中存储和检索视频和音频数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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