题目内容

Certkiller.com has hired you as a system administrator for their network. You make use of .NETFramework v3.5 in order to create a Microsoft ASP.NET application. You decide to create a Web form. You add the subsequent code fragment to the Web form. ’ /> The DataSource control named CKDataSource recovers the Quantity column values from a tablenamed Orders. You the create the rptData_ItemDataBound event handler using the subsequentcode fragment. (The line numbers is included for reference purposes) 1 protected void rept_b(object sender, RepeaterItemEventArgs e) 2 { 3 4 if(CKLbl != null) 5 if(int.Parse(CKLbl.Text) < 10)6 CKLbl.ForeColor = Color.Red;7 } You receive an instruction from management to recover a reference to the lblQuantity Labelcontrol into a variable. The variable is named CKLbl. What should you do?()

A. Your best option would be to insert Label CKLbl = e.Item.FindControl("lblQty") as Label at line4.
B. Your best option would be to insert Label CKLbl = Page.FindControl("lblQty") as Label at line 4.
C. Your best option would be to insert Label CKLbl = rptData.FindControl("lblQty") as Label at line4.
D. Your best option would be to insert Label CKLbl = e.Item.Parent.FindControl("lblQty") as Labelat line 4

查看答案
更多问题

蒸汽喷管是最简单的一种加热装置。

A. 正确
B. 错误

You are an enterprise administrator for Cer-tech .com. The company runs Windows Server 2008 on all theservers on the network. One of the servers, Server01 has the Web Server (IIS) role installed on it. A webdeveloper of the company created a website that run a web application called App1 using ASP.NET 3.0and hosted it on Server01. The Server01 was already running other ASP.NET applications. The new webapplication App1 must run under a security context that is separate from any other ASP.NET application onthe Web server. To fulfill this requirement, you create a local user account and grant account rights and permissions to runApp1. Which of the following options would choose to configure authentication for the new website tosupport App1?()

A. Enable the ASNET Impersonation setting and specify the new local user account to edit the ASNETImpersonation setting.
B. Enable the Windows Authentication setting.
C. Enable the Forms Authentication setting and retain all the default settings.
D. Configure the ASNET State service to log on to the new local user account by using the Services console.

烟花爆竹个人燃放类产品应使用()字体注明“个人燃放”字样。

A. 黄色
B. 红色
C. 蓝色
D. 绿色

导游讲解是导游语言中最能体现工作性质和专业水平的表达方式。

A. 正确
B. 错误

答案查题题库