设置dataGridView单元格颜色、字体、ToolTip、字体颜色
this.dataGridView3.Rows[e.RowIndex].Cells["你的那个要判断的列名"].Style.BackColor = Color.MediumPurple;
dataGridView1.Rows[r].Cells[e.ColumnIndex].Style.Font = new Font("宋体", 12, FontStyle.Underline);
dataGridView1.Rows[r].Cells[e.ColumnIndex].Style.ForeColor =Color.Blue;
dataGridView1.Rows[r].Cells[e.ColumnIndex].ToolTipText = string.Format("我是第{0}行,第{1}列的单元格", r, e.ColumnIndex);