Click here to Skip to main content
11,796,393 members (70,732 online)
Rate this: bad
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 at 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 at 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
0 Maciej Los 530
1 Abhinav S 392
2 OriginalGriff 340
3 CPallini 269
4 KrunalRohit 249
0 OriginalGriff 2,012
1 Maciej Los 1,615
2 KrunalRohit 1,310
3 CPallini 1,015
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2015
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