单项选择题
A.<%= Html.Action("ListEmployees", Model) %>
B.<%= Html.ActionLink("ListEmployees", "Department", "DepartmentController") %>
C.<% Html.RenderPartial("ListEmployees", Model) %>
D.<%= Html.DisplayForModel("ListEmployees") %>
单项选择题 YouareimplementinganASP.NETMVC2Webapplicationthatcontainsseveralfolders.TheViews/Shared/DisplayTemplatesfoldercontainsatemplatedhelpernamedScore.ascxthatperformscustomformattingofintegervalues.TheModelsfoldercontainsaclassnamedPlayerwiththefollowingdefinition.PublicClassPlayerPublicPropertyNameAsStringPublicPropertyLastScoreAsIntegerPublicPropertyHighScoreAsIntegerEndClassYouneedtoensurethatthecustomformattingisappliedtoLastScorevalueswhentheHtmlHelper.DisplayForModelmethodiscalledforanyviewintheapplicationthathasamodeloftypePlayer.Whatshouldyoudo?()
单项选择题 YouareimplementinganASP.NETapplicationthatincludesapagenamedTestPage.aspx.TestPage.aspxusesamasterpagenamedTestMaster.master.YouaddthefollowingcodetotheTestPage.aspxcode-behindfiletoreadaTestMaster.masterpublicpropertynamedCityName.ProtectedSubPage_Load(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesMe.LoadDimsAsString=Master.CityNameEndSubYouneedtoensurethatTestPage.aspxcanaccesstheCityNameproperty.Whatshouldyoudo?()
单项选择题 YouaretroubleshootinganASP.NETWebapplication.Systemadministratorshaverecentlyexpandedyourwebfarmfromonetotwoservers.Usersareperiodicallyreportinganerrormessageaboutinvalidviewstate.Youneedtofixtheproblem.Whatshouldyoudo?()