I have a Xml Document that has lesson information in it, such as the following:
<Lessons>
<Lesson ID= *GUID number*>
<Date>01/01/2010</Date>
<Time>07:00am</Time>
</Lesson>
<Lesson ID= *GUID number*>
<Date>01/01/2010</Date>
<Time>09:00</Time>
</Lesson>
<Lessons>
So, I have buttons in a Win App form that represent the different times of day, ie: Monday0700Button, Monday0730Button, etc
What I am trying to do is, use the xml data instances, so that it will search the xml file for all entries that occur on a date (say 01/01/2010) for different times, and color the background of the button a different color when there is a match.
How do I search a Xml file and use mutliple entries in a scenario such as this? Thanks.