Click here to Skip to main content
15,302,644 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi Everyone....

I would like to generate attendance sheet.. i thought of using either grid or table, and Number of columns in the grid/table will be around 30 columns(for 30 dates in a month) along with employee name and empid (it is just like attendance register). If administrator select the month from drop down, attendance sheet will generate.

How can I do that ?

Thanking You
Posted
Comments
ashriv 16-Jan-13 2:36am
   
what is your progress and where are you stucked? can you put more details. it is not possible to place whole project here
Animesh Datta 16-Jan-13 2:43am
   
here i want a report in following format of a month
E.No Name 14/01/2013 15/01/2013 16/01/2013
1 Arun A P A
2 Barun P P P

I assume that you want to generate a report containing attendance details. Simple way would be export the data from table to excel based on month selected. Check below link, see if it helps you.
Export Gridview Data to Excel in ASP.NET[^]

Alternate ways would be to use Crystal Reports, SSRS reports.
   
You can dynamically create a DataTable and add 31 columns with column name as 1 to 31 and bind that DataGrid with DataTable.

Hope this will at least give you the DataGrid with 31 column. In between the GridView, you can give the checkboxes to tick if someone is present.
   
Comments
Reden Rodriguez 19-Nov-18 4:40am
   
what if i had a 2 million employee?

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