I'm using classic ASP.
I will have multiple rooms and the rooms can be reserved for various hours in the day i.e. 2:00-4:00pm and 6:00-8:00 pm.
My thought is a table with each column representing an hour, and then changing the background color if that hour is reserved. If I loop through the recordset of all reservations for that room...I guess this is where I'm stuck. What's the best way to know if 2, 3, 4, 6, and 8 should be colored. I don't want to have 24 fields in a database (representing each hour). Should I loop through the recordset before each room's row is written, and maybe use an array to show which hours are reserved? I may be missing a completely easier way to do this. Any suggestions?