Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am working on .net and using C#. Only tell me what will be the database table means attributes or column names for time table.
Posted
Updated 3-Sep-12 23:27pm
v5
Comments
Mehdi Gholam 4-Sep-12 4:49am    
It is very hard to understand what you are asking, edit your question and supply more information.
Sandeep Mewara 4-Sep-12 4:57am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
lukeer 4-Sep-12 5:05am    
Use proper english spelling.
Richard MacCutchan 4-Sep-12 5:07am    
I have no idea what language the bold characters are supposed to be, but if you expect a sensible answer then try using proper words and not this childish txtspk.
AmitGajjar 4-Sep-12 5:17am    
That's called database designing. you need to do it yourself. or you should learn from your teacher.

1 solution

Hi,

Firstly there should be one table which contains the details of everyday periods.
I mean it should be like this.
PID(PK),Date, Time, PeriodNo, AssignTo(FK)(TeacherID)

Second Table Which contains Teacher Master. Which contains all the teachers.
TID(pk), TeacherName

Third Table. Schedule Teacher.
STID(pk), Date, time, PID(FK), IsAvailable(bool)

Now Firstly you have to make procedure to assign every day`s periods to available teachers.
After that you have to check that which are the free periods? and which are the free teachers, who are not assigned. and then you can assign that free periods to that free teachers.

I hope you will get some idea what you have to do. i have just taken here only 3 transaction table. But as per requirement you have to do changes. Using this example i am trying to give you some idea how can you design your tables.

I hope it might be help you.

Thanks,
Viprat
 
Share this answer
 
Comments
VIPR@T 4-Sep-12 5:30am    
why downvoted??

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