Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Displaying Data

 

I'm 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

Edited by timothy2l
  • *Experts*
Posted

I'd 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 can't 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 shouldn't even be a question. Meaning, the data should naturally support a way to build up a class list. If it doesn't, then you need to look at how you're storing class and other information to help you code your application. It's 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

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...