ASP.NET MVC中传值方式有2种: 数据在Controler中进行定义,然后在View中进行访问。 1,ViewData传值: 2,TempData传值: 转载于:https://www.cnblogs.com/netact/archive/2010/08/04/1791678.html