题目内容

You are implementing an ASP.NET MVC 2 Web application that contains several folders. The Views/Shared/DisplayTemplates folder contains a templated helper named Score.ascx that performs custom formatting of integer values. The Models folder contains a class named Player with the following definition.Public Class Player Public Property Name As String Public Property LastScore As IntegerPublic Property HighScore As IntegerEnd Class You need to ensure that the custom formatting is applied to LastScore values when the HtmlHelper.DisplayForModel method is called for any view in the application that has a model of type Player. What should you do?()

A. Rename Score.ascx to LastScore.ascx.
B. Move Score.ascx from the Views/Shared/DisplayTemplates folder to the Views/Player/DisplayTemplates folder.
C. Add the following attribute to the LastScore property.
D. Add the following attribute to the LastScore property.

查看答案
更多问题

载货行驶时货件离地高度不得大于()C、m;,起升门架须后倾到限宗。

A. 400
B. 500
C. 600
D. 650

AI研究的主要途径有三大学派,它们是()学派、()学派和()学派。

扎实推进农村电商扶贫攻坚行动,到2020年甘肃省要实现实现什么目标?

线路允许速度vmax≤120km/h,钢轨顶面擦伤深度超过()mm时为轻伤钢轨。

A. 0.3
B. 0.5
C. 1
D. 2

答案查题题库