gchq
Well-known member
- Joined
- Dec 14, 2007
- Messages
- 168
- Programming Experience
- 10+
Hi there
I am attempting to find a way to establish if the next row in a column value is out of sequence to change the ForeColor value.
Changing a colour based on the cell value can be done with DataGridViewCellFormattingEventArgs but getting the prior value and comparing it to the last value is the problem
If the column rows have the values
1001
1002
1003
1004 <------- Change font colour
1006 <------- Change font colour
1007
1008
Any ideas?
Thanks
I am attempting to find a way to establish if the next row in a column value is out of sequence to change the ForeColor value.
Changing a colour based on the cell value can be done with DataGridViewCellFormattingEventArgs but getting the prior value and comparing it to the last value is the problem
If the column rows have the values
1001
1002
1003
1004 <------- Change font colour
1006 <------- Change font colour
1007
1008
Any ideas?
Thanks