storing image into a database


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: storing image into a database

  1. #1
    pasha Guest

    storing image into a database


    hay
    there is any way to store an image into a database
    ialready tried it but the problem i am facing is that the image send to ms
    access database is converted into a long binaycode and i am not able to get
    the image.
    can anyone help me in this problem.


  2. #2
    John Timney (MVP) Guest

    Re: storing image into a database

    you need to look at Binary Large Objects, MS Access will add a header that
    identifies the object when its inserted as a type OLE object into the table,
    you have to strip that off to see it again. I think you might struggle to
    find an example on doing that from Java, if I was you I would look at ASP
    3.0 from wrox.com, they have code examples that show how to do it in asp,
    you should be able to find out what to strip from the code examples.

    Regards

    John Timney (MVP)



    pasha <pasha_syed76@usa.net> wrote in message news:3935e821@news.devx.com...
    >
    > hay
    > there is any way to store an image into a database
    > ialready tried it but the problem i am facing is that the image send to ms
    > access database is converted into a long binaycode and i am not able to

    get
    > the image.
    > can anyone help me in this problem.
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center