当前位置:MCPD(70-562)题库

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a Web form and add the following code fragment. 

The SqlDataSource1 DataSource control retrieves the Quantity column values from a table named Products. 
You write the following code segment to create the rptData_ItemDataBound event handler. (Line numbers are included for reference only.) 
01 Protected Sub rptData_ItemDataBound(ByVal sender As Object, _ 
02 ByVal e As RepeaterItemEventArgs) 
03 
04 If lbl IsNot Nothing Then 
05 If Integer.Parse(lbl.Text) < 10 Then 
06 lbl.ForeColor = Color.Red
07 End If 
08 End If 
09 End Sub 
You need to retrieve a reference to the lblQuantity Label control into a variable named lbl. 
Which code segment should you insert at line 03?()

A .
B .
C .
D .

你正在创建一个 Web 窗体。它包含一个让用户关闭页面的按钮 btnCancel。当用户单击这个按钮的时候需要跳过验证。在测试过程中,你发现单击 Cancel 按钮并不能关闭页面。你需要确保用户始终能够关闭页面,你应该如何做?() 设置Web窗体上验证控件的Enabled 属性为False。。 设置btnCancel 按钮的CausesValidation 属性为False.。 设置btnCancel 按钮的CausesValidation 属性为True.。 设置Web窗体上验证控件的Visible 属性为False。。 水泥胶砂减水率跳桌完毕后测量的直径是哪两个方向上的长度?() 取相互平行方向。 取相互垂直方向。 取两个最大直径。 取两个最小直径。 为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。 您正在开发.NET 框架 2.0 Windows 应用程序命名为 TestAnalyzer.exe,用于监视本地计算机才能找到是否任何新的事件由名为 BillNotify.exe,在名为 Certkiller 的本地计算机上运行的其他应用程序生成的应用程序事件日志-WS11。 每当一个新的事件日志条目记录应用程序必须调用 applicationLog_EntryWritten 方法,以响应。 您编写的新的事件日志条目的通知下面的代码: Dim applicationLog As EventLog = New EventLog("Application", ".") AddHandler applicationLog.EntryWritten, AddressOf applicationLog_EntryWritten 测试应用程序时您会发现有没有生成的通知。要确保新的事件日志条目的通知您所必需的。 你应该做什么?() 必须将applicationLog.EnableRaisingEvents属性设置为True。 必须将applicationLog.Log属性设置为BillNotify.exe。 必须将applicatioLogMachineName属性设置为Certkiller-WS11。 ApplicationLog的EnableRaisingEvents属性必须设置为False。 法医学检验的基本内容包括:() 现场勘验。 尸体检验。 活体检验。 物证检验。 文证审查。 组织变革的内在动力主要有() 企业战略。 组织设备。 组织成员特征。 理论联系实际。 组织成长。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a Web form and add the following code fragment. 

The SqlDataSource1 DataSource control retrieves the Quantity column values from a table named Products. 
You write the following code segment to create the rptData_ItemDataBound event handler. (Line numbers are included for reference only.) 
01 Protected Sub rptData_ItemDataBound(ByVal sender As Object, _ 
02 ByVal e As RepeaterItemEventArgs) 
03 
04 If lbl IsNot Nothing Then 
05 If Integer.Parse(lbl.Text) < 10 Then 
06 lbl.ForeColor = Color.Red
07 End If 
08 End If 
09 End Sub 
You need to retrieve a reference to the lblQuantity Label control into a variable named lbl. 
Which code segment should you insert at line 03?()

参考答案:

  参考解析

本题暂无解析

在线 客服