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

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
The application allows users to post comments to a page that can be viewed by other users. 
You add a SqlDataSource control named SqlDS1. You write the following code segment. (Line numbers are included for reference only.) 
01 Private Sub SaveComment() 
02 Dim ipaddr As String 
03 
04 SqlDS1.InsertParameters("IPAddress").DefaultValue = ipaddr 
05 ’ ... 
06 SqlDS1.Insert() 
07 End Sub 
You need to ensure that the IP Address of each user who posts a comment is captured along with the user’s comment. 
Which code segment should you insert at line 03?()

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

发展中国家对外直接投资呈现哪些特点? You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems. Which binding expression should you use?() { Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }。 { Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }。 { Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }。 { Binding Source=lbxItems, Path=SelectedItem.DisplayValue }。 你发现SQL Server 2005数据库中sales表的所有索引的碎片都很严重。现在,你要将sales表全部索引的碎片减到最小,同时却不影响任何用户使用sales表。该怎样做?() 对包含销售表的磁盘进行碎片整理。 执行以下语句:USE master; GO  DBCC  CLEAN  TABLE (‘DB1’.’sales’);GO。 执行以下语句:USE DB1;GO ALTER INDEX ALL ON sales REORGANIZE WITH LOB_COMPACTION=ON);GO。 执行以下语句:USE DB1;GO ALTER  INDEX  ALL ON sales REBUILD;GO。 下列关于众筹对中国经济影响的表述中,正确的有()。 众筹有利于缓解小微融资难的问题,鼓励创新创业。 有利于丰富投融资渠道,刺激金融创新。 有利于分散融资风险,增强金融体系的弹性和稳定性。 有利于创造就业机会,促进技术创新和经济增长。 理论创新的类型与形式有() 新的材料。 新的方法。 新的视角。 新的组合。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
The application allows users to post comments to a page that can be viewed by other users. 
You add a SqlDataSource control named SqlDS1. You write the following code segment. (Line numbers are included for reference only.) 
01 Private Sub SaveComment() 
02 Dim ipaddr As String 
03 
04 SqlDS1.InsertParameters("IPAddress").DefaultValue = ipaddr 
05 ’ ... 
06 SqlDS1.Insert() 
07 End Sub 
You need to ensure that the IP Address of each user who posts a comment is captured along with the user’s comment. 
Which code segment should you insert at line 03?()

参考答案:

  参考解析

本题暂无解析

在线 客服