DayRender 看看这个事件.如://转自其它网友的成果.////只显示当前月份日期
//CalendarDay d = e.Day;
//TableCell c = e.Cell;
//if (d.IsOtherMonth)
//{
// c.Controls.Clear();
//} //if (Request.Params["BlogId"] != null)
//{
// if (PostDt.Rows.Count > 0)
// {
// DataView PostDv = new DataView(PostDt);
// PostDv.RowFilter = " CreateDate='" + e.Day.Date.ToString("yyyy-MM-dd") + "'";
// if (PostDv.Count > 0)
// {
// e.Cell.Attributes.Add("onclick", "calendar_go('" + Request.Params["BlogId"].ToString() + "','" + d.Date.ToString("yyyy-MM-dd") + "');");
// }
// else
// {
// e.Cell.Enabled = false;
// }
// }
// else
// {
// e.Cell.Enabled = false;
// }
//}
//CalendarDay d = e.Day;
//TableCell c = e.Cell;
//if (d.IsOtherMonth)
//{
// c.Controls.Clear();
//} //if (Request.Params["BlogId"] != null)
//{
// if (PostDt.Rows.Count > 0)
// {
// DataView PostDv = new DataView(PostDt);
// PostDv.RowFilter = " CreateDate='" + e.Day.Date.ToString("yyyy-MM-dd") + "'";
// if (PostDv.Count > 0)
// {
// e.Cell.Attributes.Add("onclick", "calendar_go('" + Request.Params["BlogId"].ToString() + "','" + d.Date.ToString("yyyy-MM-dd") + "');");
// }
// else
// {
// e.Cell.Enabled = false;
// }
// }
// else
// {
// e.Cell.Enabled = false;
// }
//}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货