Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. retrieve mp3 file from database

retrieve mp3 file from database

Scheduled Pinned Locked Moved ASP.NET
databasehelptutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sra22
    wrote on last edited by
    #1

    Hi, I have stored a mp3 file in binary format into database.Now i want to retrieve from database. I am not able to retrieve that. Can anybody help me how to do this?

    C 1 Reply Last reply
    0
    • S sra22

      Hi, I have stored a mp3 file in binary format into database.Now i want to retrieve from database. I am not able to retrieve that. Can anybody help me how to do this?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Surely a select will retrieve the data if it's there. Are you sure you're explaining the problem correctly ? What's the code, and what happens ?

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      S 1 Reply Last reply
      0
      • C Christian Graus

        Surely a select will retrieve the data if it's there. Are you sure you're explaining the problem correctly ? What's the code, and what happens ?

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        S Offline
        S Offline
        sra22
        wrote on last edited by
        #3

        Hi, I want to retrive mp3 file,which is converted into binary format and stored in database using asp.net. I don't know how to retrieve this file in datagrid and also i want play that file using media player ,whenever i clicked on it. Is it clear

        C 1 Reply Last reply
        0
        • S sra22

          Hi, I want to retrive mp3 file,which is converted into binary format and stored in database using asp.net. I don't know how to retrieve this file in datagrid and also i want play that file using media player ,whenever i clicked on it. Is it clear

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          To 'show' it in the datagrid, you plainly have to write it to your file system and have a link to it. Odds are, you'd be better off to store them in your file system and store paths in your DB

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups