这样写就可以了 byte[] data = (byte[]),dataGridView1.CurrentRow.Cells[2].Value; using (MemoryStream memStream = new MemoryStream(data)) { this.pictureBox1.Image = Image.FromStream(memStream); ds.Tables.Clear(); }