1
Answer

how to create a attendance register report in c#

siva nathan

siva nathan

8y
286
1
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 

Attachment: Screenshot_(55).rar

Answers (1)
0
Roei Bar

Roei Bar

NA 7.8k 0 15y
use Page.Request.UserHostAddress;
Accepted
0
Ken Barrett

Ken Barrett

NA 173 0 15y
Ok, stupid me... this seems to work.

String hostName = System.Net.Dns.GetHostName();
lblIpAdr.Text = hostName ;