到面前为止,net里的DataGridView控件不能实现你的要求,如下: private void dataGridView1_CellPainting( object sender, DataGridViewCellPaintingEventArgs e) ... { if (e.ColumnIndex == 2 && e.RowIndex != -1) //判断所在列