Displaying Data (C#)

timothy2l

Well-known member
Joined
Jul 3, 2003
Messages
61
Displaying Data

Im developing an application that generates a semester schedule. My problem is that prereqs are placed in the same semester. I want the prereq to be placed in one dataset (semester) and the 2nd class to go to the next data set. I havent had much luck in getting this to work. Any ideas would be helpful.
Thanks in advance
 
Last edited by a moderator:
Id really have to see some code and current structure to give any meaningful advice.

As a very vague rule, pick classes for one semester first. If you have any classes that cant be combined, save them in a hashtable or as a new row in your table or some other way. Or, build your class list for the next semester and exclude any classes you already have (from the first semester).

If your structure is built right, this shouldnt even be a question. Meaning, the data should naturally support a way to build up a class list. If it doesnt, then you need to look at how youre storing class and other information to help you code your application. Its perfectly fine to add fields to a table to help with coding - that could be making a schedule work easier, make a join easier, make a search/report easier, etc.

-Nerseus
 
Back
Top