Show Monthly attendance in ASP.Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arti
    New Member
    • May 2007
    • 13

    Show Monthly attendance in ASP.Net

    Pl tell me how to show monthly attendance using ASP.Net. Weekly offs in different colour & holidays in different colour.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    What method are you using to record visits?

    Comment

    • arti
      New Member
      • May 2007
      • 13

      #3
      Originally posted by kenobewan
      What method are you using to record visits?
      I am getting data from a swiping machine & populating a datatable 'tblDailyAttend ance' in Sqlserver which has following columns- Date, Cardid, TimeIn, TimeOut. From this I will populate a monthlyattendan ceTable which will have columns cardid1 column for each day i.e. 31 days. If duration of employee in office (TimeOut -TimeIn) was more than 6 hrs put 'P' for that day else 'H' . Tables will be filled by a windows service or aindows application run by task schedular. I want to show data from MonthlyAttendan ce table in a webform in ASP.net. Extra days like 30 Feb should not appear etc. How to do it?

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Sounds like you need to bind the datatable to a control, like a datagrid.

        Comment

        • arti
          New Member
          • May 2007
          • 13

          #5
          Originally posted by kenobewan
          Sounds like you need to bind the datatable to a control, like a datagrid.
          Thanx. But how to hide or not show the columns ( 30 Feb, 31April etc) if they have dbnull values in all rows?

          Comment

          • jayvaishnav82
            New Member
            • Mar 2007
            • 1

            #6
            Originally posted by arti
            I am getting data from a swiping machine & populating a datatable 'tblDailyAttend ance' in Sqlserver which has following columns- Date, Cardid, TimeIn, TimeOut. From this I will populate a monthlyattendan ceTable which will have columns cardid1 column for each day i.e. 31 days. If duration of employee in office (TimeOut -TimeIn) was more than 6 hrs put 'P' for that day else 'H' . Tables will be filled by a windows service or aindows application run by task schedular. I want to show data from MonthlyAttendan ce table in a webform in ASP.net. Extra days like 30 Feb should not appear etc. How to do it?

            if you got solution of that problem than please give me solution of that problem because i am also facing that problem.

            Thanks

            Jayant

            Comment

            Working...