Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I ‘m working on asp.net (c#) pages
It’s about university system for scheduling the courses
The problem that I faced , I want to make linking between two pages
To more clarify:
First page contain (deadline page ):which is the page mange by head of department, contain the last deadline date that the teacher can do the add, delete or edit of the schedule
This date I want to transfer and appear in other page ( teacher page ) to see what is the deadline to alert about the time.
-The problem how can I make the teacher see the deadline that the head of department send to the teacher?
- And how can I blocked the (add, delete and edit icons ) after that deadline ,which is also give the teacher period of time to do his job.

can any one give me ideas how can I solve this problem
Thank you in advance
Posted
Updated 28-Apr-11 1:32am
v2

You can save the dead line details to database.Whenever the teachers page loads,the deadline details
are retrieved from database.
And check the deadline date with current date.
if its = or greater than the current date ,u can change the visibility of add,delete,edit icon.
 
Share this answer
 
Comments
at all 28-Apr-11 7:46am    
Thank you for your reply
We must follow the structure of the university database
this mean that I can’t change the tables of the database.

Is there other possible way ?
The deadline page is manage by head of department and deadline is set by him.

Lets see the role..
1) Head of department. (One Who set deadline and can edit, update, delete).
2) Teachers. (One who can see the deadline date and edit, update, delete the schedule according to deadline).

Check the database, some field must be their for storing deadline date.

fetch the date and show it on the teachers page, validate the links as per the current date.

If database does not have any such field use any other file like XML or a plain text file to store the deadline date and fetch the date on teachers page from the xml/txt file.

Hope you got the Idea :)

Cheers,
 
Share this answer
 
Comments
at all 28-Apr-11 8:42am    
Thanks
But I have the button in page (head of department ) this button is ( Send the deadline)

in other word; I did n't know how can pass this the value of the current date to appear in (Teacher page)?


I want to foucs on the page of head of depatment

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