how to play a sound in asp.net web page?
<p>I want to play some sounds in my web page once I click a button .
this is my code but it shows an error.</p>

<pre><code>SoundPlayer x = new SoundPlayer();
x.SoundLocation = "WindowsBalloon.wav";
//x.Play();
x.PlaySync();
</code></pre>

<p>error: Please be sure a sound file exists at the specified location.</p>

<p>but the file exists in my project .and I'm sure that the address is correct.</p>
