Click here to Skip to main content
13,447,852 members (53,200 online)
Rate this:
Please Sign up or sign in to 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 15-Jan-13 20:29pm
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
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180318.3 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100