vs 2010中不存在强类型的ActionLink [英] Strongly Typed ActionLink is not Present in vs 2010
本文介绍了vs 2010中不存在强类型的ActionLink的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法找到ActionLink<>在vs 2010中..请帮助我..
<%=Html.ActionLink<homecontroller>(x => x.Index(),"Home")%></homecontroller>
的解决方法是什么
如上一行所述..error..bcos不存在强类型的ActionLink
Hi,
im not able to find ActionLink<> in vs 2010 ..please help me..
what is the workaround for <%=Html.ActionLink<homecontroller>(x => x.Index(),"Home")%></homecontroller>
as the above line throws..error..bcos Strongly typed ActionLink is not present
推荐答案
这属于System.Web.Mvc.Html
,因此请尝试删除并再次添加引用
this belongs from System.Web.Mvc.Html
, so try to remove and add the reference again
这篇关于vs 2010中不存在强类型的ActionLink的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文