13-09-20, 12:07 AM
With DataGridView1
.DefaultCellStyle.BackColor = Color.White
.DefaultCellStyle.ForeColor = Color.Black
.RowsDefaultCellStyle.SelectionBackColor = Color.White
.RowsDefaultCellStyle.SelectionForeColor = Color.Black
.AlternatingRowsDefaultCellStyle.BackColor = Color.FromArgb(127, 255, 253)
.AlternatingRowsDefaultCellStyle.ForeColor = Color.Black
.AlternatingRowsDefaultCellStyle.SelectionBackColor = Color.FromArgb(127, 255, 253)
.AlternatingRowsDefaultCellStyle.SelectionForeColor = Color.Black
End With
.DefaultCellStyle.BackColor = Color.White
.DefaultCellStyle.ForeColor = Color.Black
.RowsDefaultCellStyle.SelectionBackColor = Color.White
.RowsDefaultCellStyle.SelectionForeColor = Color.Black
.AlternatingRowsDefaultCellStyle.BackColor = Color.FromArgb(127, 255, 253)
.AlternatingRowsDefaultCellStyle.ForeColor = Color.Black
.AlternatingRowsDefaultCellStyle.SelectionBackColor = Color.FromArgb(127, 255, 253)
.AlternatingRowsDefaultCellStyle.SelectionForeColor = Color.Black
End With
