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);"?
>byte[] ba = (byte[])Tables.Tables["company"].Rows[0]["Image"]; >MemoryStream stream = new MemoryStream(ba); >this.pictureBox1.Image = new Bitmap(stream); -->this line is generating error, it compiles but when running error: parameter is not valid... >>