Hello !
Working like charm !
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim pCell As New DataGridViewImageCell
pCell = Me.DataGridView1.Item("ThumbNailPhotoDataGridViewImageColumn", e.RowIndex)
Me.PictureBox1.Image = byteArrayToImage(pCell.Value)
End Sub
Private Function byteArrayToImage(ByVal byt As Byte()) As Image
Dim ms As New System.IO.MemoryStream()
Dim drwimg As Image = Nothing
Try
ms.Write(byt, 0, byt.Length)
drwimg = New Bitmap(ms)
Finally
ms.Close()
End Try
Return drwimg
End Function