954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Storing a full mp3 song in MS Access database using c sharp

In an ASP.net Application (windows or web)

can i write code to store the song into MS Access database .

Please Help

coollife
Junior Poster in Training
85 posts since Aug 2009
Reputation Points: 6
Solved Threads: 0
 

I believe storing an MP3 file in a database as a blob would be similar to storing an image file in a database. Neither would I recommend unless you are worried about someone finding the directory and downloading them. Usually it is best practice to store the path to the file in the database and then upload all the files to a directory.

If you have the means, most hosts offer a SQL Server database for 5 or 10 bucks a month. Much better than using Access.

textbox
Light Poster
38 posts since Jul 2009
Reputation Points: 10
Solved Threads: 2
 

my friend you are really cool just like u r ID..

but its a bad idea storing binary data in the database..

yes it is possible....but it will slow down u r application heavily..

so use u r mp3 wisely....

dnanetwork
Practically a Master Poster
Banned
633 posts since May 2008
Reputation Points: 28
Solved Threads: 106
 

You can download a sample code from the following link which helps you store binary data into MS Access Database.

http://programming.top54u.com/post/Store-and-Display-Images-from-MS-Access-Database-Using-C-Sharp.aspx

The data type of the column to store binary data in MS Access should be OLE Object.

Ramesh S
Posting Pro
583 posts since Jun 2009
Reputation Points: 165
Solved Threads: 113
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You