i found the way to store wave file in mysql database as blob format.
But how to retrieve the wave file from the database and store it as audio Stream in c#?
Retrieve wav file from mysql
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Suthish NairRank #93 · 22.6K pointsPosted Nov 3, 2010, 8:59 AM EDT
DataTable dt = new DataTable();
SqlDataReader dr = com.ExecuteReader();
dt.Load(dr);
byte[] stream = (byte[])dt.Rows[0][0];
refer link