2010/05/05

[ASP.NET MVC] 在 View 中取得 Controller 名稱

ViewContext.RouteData.Values["controller"].ToString()<br>
References:
ASP.NET MVC - Current Action