如何播放音频文件? [英] How to do play audio files?

查看:95
本文介绍了如何播放音频文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的问题是,当我点击播放按钮时,应该播放存储在数据库中的音频文件。我该怎么做?

解决方案

使用 SoundPlayer [ ^ ]类(如果文件格式为 WAV )或MediaPlayer [ ^ ] control。


请参阅此,

存储音频Sql Server 2005并检索它并在Windows应用程序.net中播放。 [ ^ ]



-KR

Hi,
My question is, when i click play button audio file should be played which is stored in database. How i to do this?

解决方案

Use the SoundPlayer[^] class (if the file format is WAV) or the MediaPlayer[^] control.


Refer this,
Store audio in Sql Server 2005 and retrieve it and play it in windows application .net.[^]

-KR


这篇关于如何播放音频文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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