在DataGridView的dataGridView1_CellFormatting事件里写代码,假设book_state是第一列。 if (Convert.ToBoolean(dataGridView1.Rows[e.RowIndex].Cells[0].Value)) { dataGridView1.Rows[e.RowIndex].Cells[0].Value = "未借...