Forums - C# Corner

Forum guidelines
Sam Okeh

Sam Okeh

  • 0
  • 96
  • 0

Listening to .WAV file on the server. How do I do this?

May 22 2019 9:08 PM

Greetings,

 I have a table called audiofiles with two important fieldnames, fileID and filename.

 The value for filename looks like this:
 
cv9330033.
 
However, on the server, the filename is stored like this:
 
vook_cv9330033.wav
 
On my summary page, I have a link:
 
  1. <asp:HyperLinkField DataNavigateUrlFields="uuid" DataNavigateUrlFormatString=http://servername/folder/play_audio.aspx?filename='vook_'{0} " +".wav" Text="Listen" />  
I can get this link to reach the filename on the server and play the .wav recording.
 
Any ideas 

Answers (1)