dataTable只是虚拟表,显示的应该是dataGridView所以修改dataGridView某一列的颜色为:1dataGridView1.Columns["列名"].DefaultCellStyle.BackColor = Color.Red;
遍历这列的每一行中的内容,并且进行替换替换