dataGridView.DefaultCellStyle.ForeColor = Color.Black;
DataGridViewColumn kolumna = dataGridView.Columns [indexOfColumn];
DataGridViewCell komórka = nowy DataGridViewTextBoxCell ();
komórka. Style.ForeColor = Color.White;
column.CellTemplate = komórka;