当前位置:MCTS(70-528)题库

问题:

[单选]

You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server.
What should you do? ()

A . Add a CompareValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its Operator property to DataTypeCheck.
B . Add a RangeValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its MinimumValue property to 01/01/1900 and its MaximumValue to the current date.
C . Add a CustomValidator control to the Web Form. Set its ControlToValidate property to txtDate. Write a function in the partial class that verifies the values as dates and returns a Boolean variable. Set the Custom Validators ClientValidationFunction to the name of your function.
D . Add a RegularExpressionValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set the ValidationExpression property to ensure that the users input follows the format of nn-nn-nnnn, where n represents a number from 0 through 9.

你是TestKing网站的电脑管理员,所有用户使用WindowsXp专业版系统。研发部门的用户使用的是双处理器的电脑。研发部门的用户说当他们运行16位的应用程序时,他们的电脑运行的就很慢。你使用系统监控来监测用户的电脑。你发现当用户运行16位应用程序时一个处理器的使用率为90%多而另一个处理器的使用率不到10%。你要为研发部门的用户提高应用程序的性能,你该怎么做?() 将每一个16位的应用程序配置为在一个分隔的内存空间运行。 将每一个应用程序运行的优先级配置为A1。 将每一个应用程序设置为对Windows95兼容的模式。 为每一个应用程序配置处理器绑定为允许它在2个处理器上运行。 警察权力的实施和运行,无须征得警察权力客体的同意,这体现了警察权力特征的() 法定性。 约束与强制性。 公共性。 单向性。 您有一台运行 Windows Vista 的计算机。该计算机有一个分区和 1 GB RAM。您需要将这台计算机升级到 Windows 7。首先您应该怎么做?() 添加 1 GB RAM。 创建第二个分区。 禁用“用户帐户控制”(UAC)。 安装 WindowsVista Service Pack 2 (SP2)。 You are designing a plan to migrate an application to Windows Azure.  The application generates log files in a proprietary format.  You need to recommend an approach for retaining the existing log file format.  What should you recommend?()  Configure Windows Azure Diagnostics to transfer event logs.。  Configure Windows Azure Diagnostics to transfer directories.。  Configure Windows AzureDiagnostics to transfer performance counters.。  Configure Windows Azure Diagnostics to transfer basic Windows Azure logs.。 气密性试验时应同步测读大气压力,大气压力精确至() 1Pa。 0.1Pa。 10Pa。 100Pa。

You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server.
What should you do? ()

参考答案:

  参考解析

本题暂无解析

在线 客服