Saving and retrieving an icon into a pic control.
Posted on 1997-08-06
This is a very easy question. But I'm giving a ton a points
because I need it answered.
Can someone provide a clear example of how to save and
retrieve a icon from a SQLServer database. I'm not using
the databound controls. I have my own query where I insert, update, and delete from a table containing a blob field. I have a :MyIcon parameter that I am trying to fill with the blob data in the SQL statement.
I tried to look at what the VCL does for the TDBImage control but I couldn't make heads or tails out of it.