this.dataGridViewTrackingSearch.CurrentRow.Cells["ColumnSono"].Style.BackColor = Color.Blue; this.dataGridViewTrackingSearch.CurrentRow.Cells["ColumnSono"].Style.SelectionBackColor = Color.Aqua;Tim
> private void dataGridViewTrackingSearch_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) > { > if (dataGridViewTrackingSearch.Columns[e.ColumnIndex].Name.Equals("ColumnHasComment")) > { > if (e.Value != null) > { > > if (e.Value.ToString() == "Y") > { > e.CellStyle.BackColor = Color.Red; > e.CellStyle.SelectionBackColor = Color.DarkRed; > } > } > } > } // end CellFormatting >