if (e.Day.DayNumberText == "20")
{
e.Cell.Controls.Add(new LiteralControl("<p>GITM</p>"));
e.Cell.BorderColor = System.Drawing.Color.Blue;
e.Cell.BorderWidth = 1;
e.Cell.BorderStyle = BorderStyle.Groove;
e.Cell.BackColor = System.Drawing.Color.LightGoldenrodYellow;
}
{
e.Cell.Controls.Add(new LiteralControl("<p>GITM</p>"));
e.Cell.BorderColor = System.Drawing.Color.Blue;
e.Cell.BorderWidth = 1;
e.Cell.BorderStyle = BorderStyle.Groove;
e.Cell.BackColor = System.Drawing.Color.LightGoldenrodYellow;
}
| |||||||||
Su | Mo | Tu | We | Th | Fr | Sa | |||
---|---|---|---|---|---|---|---|---|---|
25 | 26 | 27 | 28 | 29 | 30 | 31 | |||
1 | 2 | 3 | 4 | 5 | 6 | 7 | |||
8 | 9 | 10 | 11 | 12 | 13 | 14 | |||
15 | 16 | 17 | 18 | 19 | 20GITM | 21 | |||
22 | 23 | 24 | 25 | 26 | 27 | 28 | |||
29 | 30 | 31 | 1 | 2 | 3 | 4 |
No comments:
Post a Comment