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!

cococutAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
lakshman_ceConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.