Dim style As DataGridViewCellStyle = New DataGridViewCellStyle()
style.BackColor = Color.Yellow
style.ForeColor = Color.Black
style.SelectionBackColor = Color.Red
style.SelectionForeColor = Color.White
DataGridView1.Columns(Employee).DefaultCellStyle = style
Dim style As DataGridViewCellStyle = New DataGridViewCellStyle()
style.BackColor = Color.Yellow
style.ForeColor = Color.Black
style.SelectionBackColor = Color.Red
style.SelectionForeColor = Color.White
DataGridView1.Columns(TimeIn).DefaultCellStyle = style
okay I can see where your going with this..it looks almost identical to how I changes the header back and font colors.
Except now I am working with columns. Now is the Column(0) is that a standard start number or do I put the Name of the column in instead like this:
Also would I do this under each combobox that holds these fields or would I do this under the form_load event..