vb.net - A Data Structure to represent bookable timeslots -


What are the suggestions for a time-lot data structure?

I have many activities and I plan to show them in a data grid as pillars and title lotus with day I. It gives me 5 qualities for 5 days (column) With a Time Lot suggests the data structure that I want to use for example is a time slot id and the number of slots is left.

So ...

  • Property DayID
  • Property Day 1 Slot
  • Property
  • Property Day2 slot
  • Property Day 3 ID
  • Property Day 4 slot
  • etc.

Then each time slot structure is a specific Time will be for that ... after that 9:00 and second for one hour. Then I will have a list of timed structure which will automatically tie them against the datagrid.

I am expanding the new land here and as you can see that I am not making it clear / how to do it

thanks

create such structure:

struct DayInfo {int id; Int [] slots; }

And then there is a list of all your data to be stored, which can make 2 nested repeaters easier.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -