Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Storing image to the database

479780Sep 24 2009 — edited Sep 29 2009
Hi Guys,

I need help with storing a jpeg file to the database. I have a form with two text fields and a picturebox. I also have two buttons. One to upload the image from the filesystem to the picture box using OpenFileDialog and the other button to save the data back to the database. So far, everything works fine but my only problem is how to save everything back to the database. I can save data from the textfields but not the image in the picturebox. Can someone please show me how to save images to the database. I am using Oracle 11g and the photo field is defined as BLOB. Step by Step illustration with VB.NET code will be greatly appreciated. I am still a newbie in .NET
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2009
Added on Sep 24 2009
5 comments
4,653 views