Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading db picture field via oledbreader

Status
Not open for further replies.

Kenny62

Programmer
Mar 3, 2004
54
GB
Hi - does anyone know the sequence to read a Access DB picture/image field using the oleDbReader and getbytes method. (I know how to stuff the resulting byte array on a picture box...).
Secondly - what is the correct syntax to use when you want to write/clear an image back to the database.
Do i set the byte array to nothing? Note: this byte array is used to from the sql statement to update the db. This sql statement must work for both empty and present images.
Code examples will be much appreciated. Thanks for your help in advance.

Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top