As the title suggests, i am trying to pull a bitmap image stored in a table location with an OLEObject type to my picture box on the form. The code i am using is as following:
img_ProductPicture.Image = DS.Tables("LocationInfo").Rows(0).Item(5)
The error i am receiving is an InvalidCastException:
Unable to cast object of type 'System.Byte[]' to type 'System.Drawing.Image'
Am i missing something when pulling the image which will display it?
Thanks in advance for responses.