Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing the Leave Management system, so in the calendar it should show different color if any employee(s) on Leave on that day, and the right side it should show all the employee names those who are on Leave on that day, suppose if i click another day it should show that day absence employees names.
Posted
Comments
[no name] 30-Apr-12 16:21pm    
Please improve your question to actually include a question.

This link may fulfill your requirement.
Full Calendar[^]
 
Share this answer
 
hi..
what you can do is you can create one table on the left side lets say of 6*6 in which you can enter the dates from (1st-31st) or (1st-30th). each column represnt one date, you must be storing data of leave and activities of employee in some back-end, so you can fetch that data and add it to particular column.
Now catch here is that you can create this table dynamically through programming.
here is a link to add rows and its cells dynamically

http://msdn.microsoft.com/en-us/library/7bewx260.aspx[^]

you can also add control to this table cell.
and for list of employees you can use grid or any other control for displaying data and bind the grid or control with your database...

here is a link for binding data to grid using Sql Data Source
http://msdn.microsoft.com/en-us/library/orm-9780596529567-04-07.aspx[^]

and while binding you can give query that display details of all that employees which are absent on the date whcih is selected.. For showing dates you have calender control


I hope you've got an idea to it.
 
Share this answer
 

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