Hi friend
I want play audio file on button click event..
I write code below which not play audio file .It just fire button event.
protected void Button1_Click1(object sender, EventArgs e)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
string src = "D:\\wav Files\\aadar.wav";
//for IE
sb.Append("");
Response.Write(sb.ToString());
}
can anyone tell whats wring with this code.
Thanks and Regards
pash
Loading
Replies
Know the answer? Post it — somebody with the same question will find it here.