I have images saved in an SQL Server 2008 database. I have the database bound to a DataGridView, with one column defined as a DataGridViewImageColumn. The records are displaying properly, as well as the image column.
When the user clicks on the cell that contains the image, I am launching a "Picture Viewer" form that has a PictureBox control on it. I am not sure how to load the image in the PictureBox from the DataGridViewImageColumn. I'm guessing that I don't need to go back to the database, since the image is already loaded in the DataGridView cell.
Can you help?
Thank you in advance,