【简答题】
String[,] holidays = _______ String[13, 32]; protected void Page_Load(object sender, Args e) { holidays[1, 1] = "元旦"; holidays[3, 8] = "妇女节"; holidays[5, 1] = "劳动节"; holidays[5, 4] = "青年节"; holidays[6, 1] = "儿童节"; holidays[7, 1] = "党的生日"; holidays[8, 1] = "建军节"; holidays[10, 1] = "国庆节"; } protected void Calendar1_DayRender(object sender, DayRenderArgs e) { CalendarDay d = ((DayRenderArgs)e).Day; TableCell c = ((DayRenderArgs)e).Cell; if (e.Day.IsOtherMonth) e.Cell.Controls._______(); else { string hol = __________[e.Day.Date.Month, e.Day.Date.Day]; if (hol != string.__________) e.Cell.Controls.Add(new LiteralControl("
" + hol + "")); } }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
收藏
举报
参考答案:
参考解析: