Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello, i want to get information about audio files saving. i want to save audio file in SQL database and i am totally confused how can i do this, can anybody help me out.

thanks
Posted

1 solution

An audio file is just a binary file with a defined format.

You can convert it to a byte[] using File.ReadAllBytes() and save it in a binary column in your database.

Nick
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900