Click here to Skip to main content
15,904,494 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am developing an attendance management system(desktop),

In this system i am using a datagridview control which shows the daily attendance of the employees who checks inn

I want to give such feature to datagridview:

if any employee comes late(for eg after 9 A.M) and checks inn,his entry will highlight in red color in datagridview

Can some one will give its code
Posted

bring any status in grid or based on cell values campare in rowdatabound event keep colors
 
Share this answer
 
Choose when/how to raise the event, check the cellvalue in a statement and if true then set the cells forecolor or backcolor (not quiet sure
what you want here) to color.red.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900