• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

how to store image to SQL SERVER and get from it? (vc6.0,ado)

I use ado to connect the SQL Server in VC6.0!
what type will I create the image filed in SQL Server?
and how to store the image to database from an image file?
and how to get the image file from the database?

thanks!

0
cococut
Asked:
cococut
1 Solution
 
lakshman_ceCommented:
You can use AppendChunk and GetChunk methods in ADO,
Please refer to the following link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmthappendchunkxvc.asp

-Lakshman
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now