Asp.net MVC的actionlink到Areas里action

<li>@Html.ActionLink("Home", "Index", "Home", new { area = ""}, null)</li>
<li>@Html.ActionLink("Admin", "Index", "Home", new { area = "Admin" }, null)</li>
<li>@Html.ActionLink("About", "About", "Home", new { area = ""}, null)</li>
 
参数里加上区域名.
上一篇:关于session_cache_expire 的理解


下一篇:java中List 遍历