how to calculate the total lates, absence ot and workng hours of each employee, that depends on their time in and time out, and also their summarry

need ur help guys
,i used database table that consists of time sheet and summary

and c# datagridview, microsoft windows form using visual studio 2008

What are you having trouble with? What code have you written? Where is it failing?

Generic questions like this have a horrible chance to be answered, especially if you don't provide some code to prove you've done some work.

If you post some code or make your question a little more specific in regards to where you are having trouble you're more likely to get assistance.