CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    9

    How to save an image in a SQL Server Database using DAO/ADO

    Can anybody help me by telling me how to save and retreive an image from a SQL Server Database. More over how to display the retreived image in a image box control


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How to save an image in a SQL Server Database using DAO/ADO

    use the GetChunk and AppendChunk methods to retrieve/save an image.
    To display it in an image control, you could retrieve it from the database using Getchunk, write it to a file and load that file using LoadPicture.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured