摘要:
首先先用代码来说话:ViewData:public ActionResult Index(){List colors = new List();colors.Add("red");colors.Add("green");colors.Add("blue");ViewData["listColors"] = colors;ViewData["dateNow"] = DateTime.Now;ViewData["name"] = "Hajan";ViewDat 阅读全文