我如何用ViewBag显示"Name - LastName"?
<h2> @{ViewBag.Name;} - @{ViewBag.LastName;} </h2>
我有错误
asp.net-mvc-3
asp.net-mvc-3 ×1