Click here to Skip to main content
12,895,911 members (46,750 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
Hi friends,
I am doing a school management project.but unfortunately i struggle with designing a time table. I searched google for reference,but i didnt get desired result.please help me to design the timetable.
Posted 27-Sep-12 7:39am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Perhaps this[^] article would be a good starting point for you. Only once you understand what a relational database can you design something within it.
As far as your specific table structures, the basic point is to list out all the data you want to store and then break it down into relational bits until it is as normalized as it can get.
Sergey Alexandrovich Kryukov 27-Sep-12 15:37pm
Good point, a 5.
The OP's main problem right now is mixing up the time table (data) and the UI representation, which is not good. I elaborated this in my answer, please see.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Don't design time table using grid view. Use time table separately, and separately the UI presentation for it. It's really important to isolate UI from other aspects of the application, and to isolate the data model from everything else. Other part of applications can be aware of data model, but the data model should be agnostic to application, so it would be one of the fundamental functional units, on the very bottom of the dependency diagram.

I suggest you learn and analyze applicability of the following architectural patterns ([^]):

MVVM — Model View View Model,[^],

MVC — Model-View-Controller,[^]),

MVA — Model-View-Adapter,–view–adapter[^],

MVP — Model-View-Presenter,[^].

Pay attention for the motivation of those architectures. If you understand it, you would be able to create better design ideas.

As to the isolation of the UI and data model, you should better understand loose coupling and separation of concerns:[^],[^].

Good luck,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2017
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