@Html.ActionLink访问其他控制器视图
@Html.ActionLink("开展项目", "IndexItemDept", new { Controller = "Price_ItemDepts", iD = item.AutoID, deptID = item.FeeDeptID})
注意,分别为显示文本,action,controller+参数,controller为其他控制器,和参数写在一起
@Html.ActionLink("开展项目", "IndexItemDept", new { Controller = "Price_ItemDepts", iD = item.AutoID, deptID = item.FeeDeptID})
注意,分别为显示文本,action,controller+参数,controller为其他控制器,和参数写在一起