I'm creating an application that allows you to manage events of football (football days), so I decided to organize all the games of a season for example 2014/2015 within a calendar. I never used the control DataPicker provided by the .NET and I have some questions to ask then.
My data are formed by the following structure:
these data are taken from a deserialization of a Json, and include:
Now I need to save in the DataPicker every day. As you can see I could do it thanks to the "date", but I do not know how. Also I would make sure that each day saved in the calendar is lit in red, that is, every day of the calendar that stores a match day is a different color than the days that do not have any events. Finally, clicking on the event that contains a day I have to be able to access the data listed above, and then the information for that match day. NB: In one day there may be more events and then I need to save more information, for example there may be such a situation:
Can someone explain to me how to do this, pointing to some tutorial or some sketchy example of code? I'd be grateful.
My data are formed by the following structure:
Code:
FC Turin - AC Cesena - 2015-05-30T22: 00: 00Z - 38 - 5-0 - FINISHED
Code:
Home team: FC Turin
Away team: AC Cesena
Date: 2015-05-30T22: 00: 00Z
number day: 38
home goals: 5
Goals Rank: 0
Status: FINISHED
Code:
FC Turin - AC Cesena - 2015-05-30T22: 00: 00Z - 38 - 5-0 - FINISHED
Atalanta Bergamo - AC Mailand - 2015-05-30T22: 00: 00Z - 38 to 1 - 3 - FINISHED
AS Roma - US Palermo - 2015-05-30T22: 00: 00Z - 38 to 1 - 2 - FINISHED