Hi! I have a dataset where I have a field that is a image. I can't figure
out how to retreive the imahe, I get the invalid paranmeter with this
code...
Try
Dim buffer() As Byte = CType(dstPlant.Tables("plant").Rows(intRow)("image "),
Byte())
'create memory stream from this array of bytes
Dim mstImage As New MemoryStream(buffer)
'set the image property of the picture box to the image in the stream
file.pictFile.Image = Image.FromStream(mstImage)
Catch ex As Exception
MessageBox.Show("KJHKJHKJH" + ex.Message.ToString)
End Try
anyone can help me?