是否可以使用变量自动查找月历中的某个日期?
DateTime example = Convert.ToDateTime("01/01/2014");
//Automatically select 1 January 2014 in the calendar
//(i.e. The date corresponding to the example variable above)
答案 0 :(得分:1)
DateTime example = Convert.ToDateTime("01/01/2014");
monthCalendar.SetDate(example);