>>If you change the code to this
>
>
>byte[] ba = (byte[])Tables.Tables["company"].Rows[0]["Image"];
>MemoryStream stream = new MemoryStream(ba);
>Bitmap bitmap = new Bitmap(stream);
>this.pictureBox1.Image = bitmap;
>
>
>does it throw an exception on this line "Bitmap bitmap = new Bitmap(stream);"?
>Yes, this error:
>System.ArgumentException was unhandled
> Message="Parameter is not valid."
> Source="System.Drawing"
> StackTrace:
Probably indicates that the byte array does not hold valid image data (see BitMap Constructor (Stream) in help)
Regards,
Viv