By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,563 Members | 1,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,563 IT Pros & Developers. It's quick & easy.

save image in access database

P: n/a
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..

Nov 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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/

jack schrieb:
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..


Nov 17 '05 #2

P: n/a
Thanks for the reply
as im a beggner can i get an address from where i can get the
complete explenation of this .

Nov 17 '05 #3

P: n/a
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

Nov 17 '05 #4

P: n/a
can i save image in database without saving in physical directory

Nov 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.