The column up_image in the table user_profile is defined as the data type long byte. The long byte data type maps the LongVarBinary type in the Ingres Data Adapter, which in turn maps to the System Byte array.
A System Byte array can be converted to other types using the MemoryStream class.
DataRow resultRow;
DataColumnCollection columnCollection;
MemoryStream memoryStream;
Image photo;
resultRow = profileDataSet.Tables["user_profile"].Rows[0];
columnCollection = resultRow.Table.Columns;
memoryStream = new MemoryStream(
(byte[])resultRow.ItemArray[columnsCollection["up_image"].Ordinal]
);
// Read the BLOB stream into an image object.
photo = Image.FromStream(memoryStream);
// Set the image into an image box.
profilePictureBox.Image = photo;