MVC:
//Request.QueryString[""];Request.Form[""];
//同名参数
//对象的同名属性
ViewData["val"] = 11;
TempData["val"] = 11;
ViewBag.val = 11;//动态数据类型,啥都能存,啥都能取
//int val3 = ViewBag.val;
return View();
标签:11,能取,val,ViewBag,12.23,同名,Request,笔记
来源: https://www.cnblogs.com/wangjianqiang/p/15735001.html