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

问题:

[单选]

You use Microsoft Visual Studio 2010 and Microsoft . 
NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 
You create a WPF window in the application.  
You add the following code segment to the application. 

The DataContext property of the window is set to an instance of the ViewModel class.  
The Data property of the ViewModel instance is initialized with a collection of BusinessObject objects. 
You add a TextBox control to the Window. 
You need to bind the Text property of the TextBox control to the Name property of the current item of the CollectionView of the DataContext object.  
You also need to ensure that when a binding error occurs, the Text property of the TextBox control is set to N/A . 
Which binding expression should you use?()

A . { Binding Path=Data/Name, FallbackValue='N/A' }
B . { Binding Path=Data.Name, FallbackValue='N/A' }
C . { Binding Path=Data/Name, TargetNullValue='N/A' }
D . { Binding Path=Data.Name, TargetNullValue='N/A' }

罗兹曼在《中国的现代化》中写道:“1949年中国共产党人掌权以后,国家开展强大的运动来改变它的工农业结构……主要消费工业按国家规定的价格购买原材料和销售产品,当这些工业在50年代国有化以后,它们的利润很快变成政府收入和国家储蓄的主要源泉。”当时新中国政府的这些做法()。 使农业、轻工业和重工业得到了协调发展。 积累了大量资金,促进了重工业的发展。 为社会主义改造奠定了良好的经济基础。 造成了生产关系严重脱离生产力水平。 在Access中,所有窗体都对应有设计视图,利用设计视图可以设计和修改窗体的结构,并可以对窗体进行外观的美化。 在VBA语言中,所使用的语句关键字、函数名、变量名、对象名等,不必区分字母大小写,它们是等效的。 某施工单位通过公开招标的方式承担了一项高层住宅的总承包任务。该施工单位项目管理的目标应包括()。 施工的成本目标。 施工的进度目标。 施工的质量目标。 施工图的交图时间。 项目的总投资目标。 嵌入到Access管理系统中的语言是VBA语言。

You use Microsoft Visual Studio 2010 and Microsoft . 
NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 
You create a WPF window in the application.  
You add the following code segment to the application. 

The DataContext property of the window is set to an instance of the ViewModel class.  
The Data property of the ViewModel instance is initialized with a collection of BusinessObject objects. 
You add a TextBox control to the Window. 
You need to bind the Text property of the TextBox control to the Name property of the current item of the CollectionView of the DataContext object.  
You also need to ensure that when a binding error occurs, the Text property of the TextBox control is set to N/A . 
Which binding expression should you use?()

参考答案:

  参考解析

本题暂无解析

在线 客服