save image in access database

  • Thread starter Thread starter jack
  • Start date Start date
J

jack

Hi.
I wanted to save image from the form in my accss database.
there is one picture box on form which loads the picture from the
harddisk .
i want this picture to store in my database ..
thanks for the help..
 
Hi Jack,

first you have to add a Blob column to your table.
Then you read the picture into a Byte[] which
you can insert into your Blob column. There's
also an example in the sdk help which covers
that content.

Open the SDK Help choose the index tab insert BLOBs.

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/
 
Thanks for the reply
as im a beggner can i get an address from where i can get the
complete explenation of this .
 
thanks for the reply Lars Behrmann
im using an access database and now im stuck that after
getting the data in the binary format as suggested by you in SDK help
how should i get this image in picturebox now as the data which i hace
is in the file stream object
 
Back
Top