欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-515)

单项选择题

You are developing an ASP.NET MVC 2 Web application. The application contains a controller named Home Controller, which has an action named Index. The application also contains a separate area named Blog. A view within the Blog area must contain an Action Link that will link to the Index action of the Home Controller. You need to ensure that the Action Link in the Blog area links to the Index action of the HomeController. Which Action Link should you use?()

    A.Html.ActionLink("Home", "Index", "Home")
    B.Html.ActionLink("Home", "Index", "Home",  New With {.area = ""}, Nothing)
    C.Html.ActionLink("Home", "Index", "Home",  New With {.area = "Blog"}, Nothing)
    D.Html.ActionLink("Home", "Index", "Home",  New With {.area = "Home"}, Nothing)

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题