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...do you know something about it?