how to create a attendance register report using c#
below i have attached my table record and attendance register format
when outtime-intime difference >=6 means display P if sunday means H
if absent means AB
| attendance date | intime | outtime |
| 01-03-17 | 08:45 | 18:05 |
| 02-03-17 | 08:45 | 18:10 |
| 03-03-17 | 08:50 | 18:15 |
march month sunday date is 05-03-17 at that day report is H