方式一: 数据存储模型Model: public class CalendarEvent { public string id { get; set; } public DateTime start { get; set; } public DateTime end { get; set; } public string backgroundColor { get; set; } public string title { get; set; } public string allDay { g
该方法:主要用于对前台页面的不同类型(TextBox.DropDownList.等)或全部控件进行批量操作,用于批量修改其属性(如,Text.Enable). private void GetControlList<T>(ControlCollection controlCollection, List<T> resultCollection) where T : Control { foreach (Control control in controlCollection) {