Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0 C#
I want to upload a mp3 file and store them in the sql server 2005.
And want to retrieve the mp3 from the database and play them in my asp.net page.
Is some one guide me ho could i achieve this ?
Thank you guys in advance.
Posted 31-Mar-13 19:54pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Well you can accomplish this by numerous way. It is similar to saving images in DB. You can either save the path of your mp3 files or by using a stream you can save them on your DB in bytes. It depends on you how to manage it.
 
Here is a good article:
Save MP3 Audio Files to database and display in ASPNet GridView with Play and Download option[^]
Some more helper links:
How Can I Save Mp3 File in DataBase As Binary Data ? [^]
Save and Retrieve Files from SQL Server Database using ASP.Net[^]
http://www.aspnetaudio.com/[^]
http://forums.asp.net/t/1849434.aspx/1[^]
 
Good luck,
OI
  Permalink  

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

  Print Answers RSS
0 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 Zoltán Zörgő 99
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 1 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100