可学答题网 > 问答 > MCTS(70-515)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a


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

  • AHtml.ActionLink("Home", "Index", "Home")
  • BHtml.ActionLink("Home", "Index", "Home", new {area = ""}, null)
  • CHtml.ActionLink("Home", "Index", "Home", new {area = "Blog"}, null)
  • DHtml.ActionLink("Home", "Index", "Home", new {area = "Home"}, null)
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You are developing a

You are developing an ASP.NET Web application. You create a master page. The master&#81...

2、You are developing a

You are developing a Hotel Booking application for a travel company. The users request&...

3、You are developing a

You are developing an ASP.NET Web application. You create a master page. The master&#81...

4、You are developing a

You are developing an ASP.NET Web page that contains input controls, validation controls,&#...

5、You are developing a

You are developing an ASP.NET Web application. Application data is stored in a Microsof...

6、You are developing a

You are developing an ASP.NET MVC 2 Web application. A page makes an AJAX request...