Xaverria Posted March 20, 2005 Posted March 20, 2005 I currently doing a resource scheduling wed application. The user will enter all the time slot take already taken for the day. I required to using the time given, generate a time table with which show available time slot in blue and other taken time slot with red. I'm totally clueless about how and what kind of function of control I can use to help me. Quote
Jay1b Posted March 21, 2005 Posted March 21, 2005 What kind of project is this for? School, favour for a friend or an actual contract? Quote
mskeel Posted March 21, 2005 Posted March 21, 2005 I'm a little confused about your question. Do you need help with an algorithm, display, ...? Quote
Xaverria Posted March 21, 2005 Author Posted March 21, 2005 (edited) It's is a favour for a friend. Initially, i help my friend to do in a list format, but i was told it was rejected by the lecturer.... The project goes like this... Each "school" courses will be allocated a room for a specific period of time on a particular day. When the user or administrator choose a date, the table (row as room, col as time slots) will be displayed with all non-available time slot highlighted in red and all available time slot in grey. This table is used just to tell what are the time slot available for each room... Thank you for all views and help. Edited March 21, 2005 by Xaverria Quote
Jay1b Posted March 21, 2005 Posted March 21, 2005 If your unsure about programming, but are confident in Excel. Then i would advise you to create this in Excel first, that will act as a design which you can then very easily duplicate in .NET Quote
darian1271 Posted March 21, 2005 Posted March 21, 2005 Crayola DataGrid? My suggestion would be to use a datagrid. You could just color the background of each cell according to the availability and you need only space the columns to fit the header. If you break it up into hours you need only 24 columns. As for rows I would suggest you do it in weekly increments so that you need only show 7 rows at a time and allow the user to search by weekly increments via a combobox or calendar. Your biggest challenge would be setting up a table in the database, the rest is just coloring so get your crayons out everyone. -Stanley Quote
Dill Posted March 22, 2005 Posted March 22, 2005 i did something similar. A project management program. i drew the full plan onto a panel using the gdi and put this panel inside a fixed size panel. i set up some events to allow easy scrolling around with the mouse (adobe hand style). It is quite smple to use the database information to draw the paths you need. The scale was different (up to months) but its another possibility. Dill Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.