I have a thorny little problem where I am outputting an audit trail and need to highlight the changes to each record.
I am currently using a Linq-to-Sql data source to pull the audit data back and then displaying it in a table using a repeater which works fine.
The problem is I need to change the background colour of a cell if its value has changed from the previous record and I'm struggling to find a way to do this.
An alternative I've considered is to simply generate the whole table which will work but I just get the feeling there must be an easier way to do this.
Any thoughts?