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

单项选择题

You are implementing an ASP.NET MVC 2 Web application that contains the following class.
You create a strongly typed view that displays details for a Department instance. You want the view to also include a listing of department employees. You need to write a code segment that will call the ListEmployees action method and output the results in place. Which code segment should you use?()

    A.<%= Html.Action("ListEmployees", Model) %> 
    B.<%= Html.ActionLink("ListEmployees", "Department", "DepartmentController") %>
    C.<% Html.RenderPartial("ListEmployees", Model); %>
    D.<%= Html.DisplayForModel("ListEmployees") %>

点击查看答案

相关考题

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

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

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

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