How Do I Load Picture as binary, Save To and retrieve Image From SQL Server using ADO


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How Do I Load Picture as binary, Save To and retrieve Image From SQL Server using ADO

  1. #1
    Join Date
    Dec 2008
    Location
    *****, Nigeria
    Posts
    62

    How Do I Load Picture as binary, Save To and retrieve Image From SQL Server using ADO

    Hi,

    I want to Load a Picture Box or Image control with an image file as binary, Save it To an SQL Server DB. I want to be able to also retrieve the Image from SQL Server and display it in the Image Control when i need to.

    I would like to do this using an ADO recordset and SQL Server 2008. Is there any one who has had this challenge before?

    Please share the code. Thanks in advance!


    Charles.
    Mobile: +234 706 042 6036
    Email: charles@hedonmark.com
    Website: www.hedonmark.com

    “To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.”
    —Ralph Waldo Emerson

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Feb 2014
    Posts
    2
    Quote Originally Posted by proffy View Post
    Hi,

    I want to Load a Picture Box or Image control with an image file as binary, Save it To an SQL Server DB. I want to be able to also retrieve the Image from SQL Server and display it in the Image Control when i need to.

    I would like to do this using an ADO recordset and SQL Server 2008. Is there any one who has had this challenge before?

    Please share the code. Thanks in advance!


    Charles.
    You may google some imaging tutorials for reference.

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