Click here to Skip to main content
15,936,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends...

This is my requirement:

I want to display all the works assigned to a student (from database to gridview) when he does login to the site. The left side of the gridview should contain all the works assigned to him (including work id, work name, start date, end date).

The right side of the page should have a fillable table (associated with the works listed in the left side) where the student can enter his time spent on each work. The header of 7 columns in the table contains the dates of a week (fom monday to sunday).

If he enters 8 hrs (in the fillable table) for task 3 (in the list in left side), then 8 hrs has to be added for task 3 against the particular date (header of the cell filled).

There are two buttons (previous and next) above. When he presses the previous button, the text of the table header should move to the dates of previous week.

The dates in header should be standard dates (i.e. should handle all the leap year too - like asp calendar)

Similarly when he presses the next button, the table (alone) should move to the next week and he should be able to fill the time for next week.

How to do this in

Please help me friends...

Thanks in advance...

Note: the no. of columns in the table is constant (i.e. 7 - week days, but the dates will change). But the no. of rows of the table depends on the no. of works assigned to the student - so it is variable.
Updated 26-Sep-12 17:33pm

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