❔ Decoded bitmap images aren't set in the photoboxes correctly
I'm using this first code to encode three bitmap images into a base64 string, then I'm storing them in a SQLite database.
2 Replies
Then I wrote this code where it selects all three base64 strings from the SQLite database, decodes them and puts them in their pictureboxes respectively, the first base64 string --> the first picture box, second base64 string --> second picture box, and third base64 string --> third picture box.
However, when the program decodes the base64 strings and applies the images to the pictureboxes, the order is messed up. The second decoded image is set in the first picturebox, and the third decoded image is set in the second picturebox and the first decoded image is not set in any of the pictureboxes.
I have tried debugging and changing the value of i, but sadly they did not help.
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.