I am trying to build an html string for an html table from a sorted dictionary
So the sorted dictionary would have keyvaluepairs with the date as a key and sometext as a value.
I would have the first day starting the middle of the week, in this case I would like to populate the dates for the cells before this entry.
Rows will be a row of dates then a row of text corresponding to these dates
then another row of date then another row of text untill the whole dictionary entries are represented in the calendar.
How would I build this.
I would like to build a string representing this table
such as the following
Please take a look at the attached document this is what I am expecting
Monday Tuesday Wednesday Thursday Friday
7-02-2011 08-02-2011 09-02-2011 10-02-2011 11-02-2011
Some Text Some text
21-02-2011 22-02-2011 23-02-2011 24-02-2011 24-02-2011
07-03-2011 08-03-2011 09-03-2011 10-03-2011 11-03-2011