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