搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

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)

更多“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?()”相关的问题
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服