-
Image Storing
I would like to know how do we store an image in a picture box / image control on to the database and also as a physical file in JPG or GIF format.
I would also like to know in what format it will be stored if I use a BLOB field to store in Database.
Thanks in Advance.
-
Well you can use the SavePicture statement to save a picture that is in a picturebox to the hard drive. Then you could open the file for binary access read, and then read the entire file into a String variable and save that into a database.
-
Thanx for ur reply.
but if i use the SavePicture Statement it saves it .BMP format which occupies a lot of space
I need to store the file in JPEG or GIFF format which occupies lesser amount of space.
Can u help me with this.
Thanx in Advance