Take an flag in db to maintain track of new & view records. Once particular is clicked to view update its flag value.
If you are using an grid control any data control to represent records then can use row data bound event to check flag values & make formatting according to that.
For understanding row data bound check
this link