I have been using the sql ce to bring some data onto my application. Now I need to add some of the images to make it look pretty. What all I want to know is
- There must be some image to byte conversion done,
- Retrieve the image byte code and convert back into the image.
I’ve got stuck at the second part and how am I supposed to continue?
Any links or examples are needed for the reference.
Thanks a lot.
Here’s some ideas I have used in the past.
The image column in the DB:
Save image:
Get image:
Using a value converter:
And finally bind it in XAML: