Click here to Skip to main content
13,096,399 members (55,872 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 page.
Is some one guide me ho could i achieve this ?
Thank you guys in advance.
Posted 31-Mar-13 18:54pm

1 solution

Rate this: bad
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[^][^][^]

Good luck,

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 1 Apr 2013
Copyright © CodeProject, 1999-2017
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