网友您好, 请在下方输入框内输入要搜索的题目:
YouaredevelopinganASP.NETMVC2Webapplication.TheapplicationcontainsacontrollernamedHomeController,whichhasanactionnamedIndex.TheapplicationalsocontainsaseparateareanamedBlog.AviewwithintheBlogareamustcontainanActionLinkthatwilllinktotheIndexactionoftheHomeController.YouneedtoensurethattheActionLinkintheBlogarealinkstotheIndexactionoftheHomeController.WhichActionLinkshouldyouuse?()
A.Html.ActionLink("Home","Index","Home")
B.Html.ActionLink("Home","Index","Home",new{area=""},null)
C.Html.ActionLink("Home","Index","Home",new{area="Blog"},null)
D.Html.ActionLink("Home","Index","Home",new{area="Home"},null)
参考答案