posted 22 years ago
Drawings are binary data and every database serve handles this kind of data differently. To store a picture you will need to adopt a process similar to the following:
Convert Picture -> Suitable binary format, i.e. GIF et al.
Write binary data to database (see later)
To view:
Read binary data from DB -> Binary format
Decode binary format into suitable class such as Image
The technique used to store the data in the DB will require a datatype called Binary Large Objects or BLOBS. For the specifics of these you will need to see the manual for the particular RDBMS vendor you are using
Hope this puts you on the right track,
rgds, Arun