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

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You write the following code segment in the code-behind file to create a Web form. (Line numbers are included for reference only.) 
01 Dim strQuery As String = "select * from Products;" + _ "select * from Categories" 
02 Dim cmd As New SqlCommand(strQuery, cnn) 
03 cnn.Open() 
04 Dim rdr As SqlDataReader = cmd.ExecuteReader() 

 English 
 Chinese 
 Japan 
 Korean 
 - 47 - Test Information Co., Ltd. All rights reserved. 05 
06 rdr.Close() 
07 cnn.Close() 
You need to ensure that the gvProducts and gvCategories GridView controls display the data that is contained in the following two database tables: 
¡¤The Products database tabl 
¡¤The Categories database tabl 
Which code segment should you insert at line 05? ()

A . A
B . B
C . C
D . D

You are the administrator of a Windows Server 2003 computer named Server1. You log on to Server1 and attempt to access the network. You discover that the server is not communicating on the network. You discover that a service pack and an updated network adapter driver were installed on Server1 the previous night. A complete backup, including the System State data, was performed before the service pack and the driver were installed. You need to restore network communications. What should you do first? () Use Roll Back Driver to reinstall the previous driver for the network adapter.。 Use the Backup or Restore Wizard to restore the backup from the previous night.。 Restart Server1 by using the Last Known Good Configuration option.。 Use the Registry Editor to delete the registry settings for the network adapter driver.。 在小区种植鉴定中,标准样品和品种描述都具有重要作用,田间检验员需要借助它们作为鉴定的重要参考依据。请分别指出标准样品和[品种描述在鉴定中的作用; Access数据库中,窗体和报表的数据来源只能是表对象,不能是其他对象。 企业以购买股票或直接投资的形式向其他企业投资所形成的经济关系,体现为企业与受资者之间的财务关系。 简述环丙沙星的抗菌作用机理及其常见不良反应。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You write the following code segment in the code-behind file to create a Web form. (Line numbers are included for reference only.) 
01 Dim strQuery As String = "select * from Products;" + _ "select * from Categories" 
02 Dim cmd As New SqlCommand(strQuery, cnn) 
03 cnn.Open() 
04 Dim rdr As SqlDataReader = cmd.ExecuteReader() 

 English 
 Chinese 
 Japan 
 Korean 
 - 47 - Test Information Co., Ltd. All rights reserved. 05 
06 rdr.Close() 
07 cnn.Close() 
You need to ensure that the gvProducts and gvCategories GridView controls display the data that is contained in the following two database tables: 
¡¤The Products database tabl 
¡¤The Categories database tabl 
Which code segment should you insert at line 05? ()

参考答案:

  参考解析

本题暂无解析

在线 客服