重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
当前位置: 首页 > 计算机类考试 > 其他
网友您好, 请在下方输入框内输入要搜索的题目:
搜题

题目

[主观题]

You use Microsoft .NET Framework 4 to create a Windows Forms application.You add a new cla

ss named Customer to the application.You select the Customer class to create a new object data source.You add the following components to a Windows Form:A BindingSource component named customerBindingSource that is data-bound to the Customer object data source.A set of TextBox controls to display and edit the Customer object properties.Each TextBox control is data-bound to a property of the customerBindingSource component.An ErrorProvider component named errorProvider that validates the input values for each TextBox control.You need to ensure that the input data for each TextBox control is automatically validated by using the ErrorProvider component.Which two actions should you perform?()

A.Implement the validation rules inside the Validating event handler of each TextBox control by throwing an exception when the value is invalid.

B.Implement the validation rules inside the TextChanged event handler of each TextBox control by throwing an exception when the value is invalid.

C.Implement the validation rules inside the setter of each property of the Customer class by throwing an exception when the value is invalid.

D.Add the following code segment to the InitializeComponent method of the Windows Form.this.errorProvider.DataSource = this.customerBindingSource;

E.Add the following code segment to the InitializeComponent method of the Windows Form. this.errorProvider.DataSource = this.customerBindingSource.DataSource; this.errorProvider.DataMember = this.customerBindingSource.DataMember;

查看参考答案
更多“You use Microsoft .NET Framework 4 to create a Windows Forms application.You add a new cla”相关的问题

第1题

You are adatabase solutionsarchitect.Your company plan
sto develop asolution by using a SQLServer2008instance.The solutionhasthefollowingbusinessrequirements:ImportdatafromvariousdatasourcessuchasMicrosoftOfficeExcel,Microsoft SQL Server2000,MicrosoftSQLServer2005,andCSVfiles.Profilethesourcedatabeforeitisimported.Providecollaborationandofflinecapabilitiestomobileusers.Allowmobileuserstouseheterogeneousdatastores.YouneedtoconfiguretheappropriateSQLServercomponentstoaccomplishthebusinessrequirements.Youwanttoachievethisgoalbyusingtheminimum amountofadministrativeeffort.

Whichtwo SQL Server componentsshould you use?()

点击查看答案

第2题

A.A

B.B

C.C

D.D

点击查看答案

第3题

Your computer runs Microsoft Windows XP Professional. You share your computer with two oth
er co-workers. You purchase a new computer. You install Microsoft Windows Vista on the new computer. You need to migrate the following content from the old computer to the new computer:All system and program settingsAll users settingsOnly the content in the C:\Appdata folderWhich tool should you use?()

A.A

B.B

C.C

D.D

点击查看答案

第4题

Your organization has a n Active Directory Domain Services (AD DS) domain. All client comp

Your organization has a n Active Directory Domain Services (AD DS) domain. All client computers run Windows 7. You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to manage your Hyper-V hosts. Your environment includes Microsoft Enterprise Desktop Virtualization (MED-V). You plan to deploy a virtual machine (VM) image to all client computers. You need to ensure that user state information is maintained between sessions in the VM.What should you do? ()

A.Use VMM to configure placement settings.

B.Configure a MED-V revertible workspace policy.

C.Configure a MED-V persistent workspace policy.

D.Use Hyper-V Manager to create a revert snapshot.

点击查看答案

第5题

You use Microsoft .NET Framework 4 to create a Windows Forms application.You need to allow
the user interface to use the currently configured culture settings in the Control Panel.Which code segment should you use?()

A.Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;

B.Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;

C.Thread.CurrentThread.CurrentUICulture = CultureInfo.InstalledUICulture;

D.Thread.CurrentThread.CurrentCulture = CultureInfo.InstalledUICulture;

点击查看答案

第6题

You use Microsoft .NET Framework 4 to create a Windows Forms application.You have a DataGr
idView that is bound to a DataTable containing a column named ProductName.The ProductName column can contain any valid string, except "ProductX," "ProductY," "ProductZ."You need to ensure that only valid entries for ProductName are saved when users edit the DataGridView.Which DataGridView event should you use?()

A.CellBeginEdit

B.Invalidated

C.Validated

D.Validating

点击查看答案

第7题

You are the network administrator for . Your network consists of a single Active Directory
domain named All network servers runWindows Server 2003. You use Microsoft Operations Manager (MOM) to monitor all servers.An e-mail server named MailTK1 is located at a remote data center. MailTK1 runs Microsoft Exchange Server 2003.MailTK1 restarts unexpectedly during business hours. The event log indicates a problem with the SCSI CD-ROM.You need to ensure that MailTK1 remains continuously available during business hours.What should you do?()

A. Use Device Manager to disable the SCSI CD-ROM.

B. Create and implement a new hardware profile to exclude the SCSI CD-ROM.

C. Use Device Manager to update the driver for the SCSI CD-ROM.

D. Use Device Manager to update the driver for the SCSI controller.

点击查看答案

第8题

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Pr
esentationFramework (WPF) application.You have a page named myPage that contains the following code fragment.You need to ensure that other pages in your application can use CustomerNameBrush.What should you do? ()

A.Move CustomerNameBrush to the App.xaml file.

B.Inherit from myPage in all additional pages that use CustomerNameBrush.

C.Add a reference to myPage to all additional pages that use CustomerNameBrush.

D.Bind controls that need CustomerNameBrush to myPage.Resources.CustomerNameBrush.

点击查看答案

第9题

You use Microsoft Application Virtualization for Desktops to virtualize applications for c
lient computers.A virtual application that was installed by using a Windows Installer Package (.msi) file has become corrupted.You need to restore access to the virtual application.Which two actions should you perform?()

A.Reload the virtual application package.

B.Reinstall the virtual application package.

C.Use the Repair function in the Windows Installer Package. Use the Microsoft Application Virtualization (App-V) to re-sequence the application.

D.Use the Microsoft Application Virtualization (App-V) Sequencer to edit the virtual application package.

点击查看答案

第10题

Your workgroup contains computers that run Microsoft Windows Vista and Microsoft Windows X
P Professional. Employees that use Windows XP Professional do not appear in the Invite people list of a Microsoft Windows Meeting Space meeting. You need to ensure that all employees are invited to Windows Meeting Space meetings.Which two actions should you perform?()

A.A

B.B

C.C

D.D

E.E

点击查看答案

第11题

You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) applic

You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application.You plan to create a custom control that contains four text input fields.Each of the text input fields within the control will contain a label.You need to ensure that the text input fields within the control can be validated by using a regular expression validator.Which class should you inherit from?()

A.TextBox

B.TextElement

C.UIElement

D.UserControl

点击查看答案
赏学吧APP
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案
购买前请仔细阅读《购买须知》
请选择支付方式
微信支付
支付宝支付
点击支付即表示你同意并接受《服务协议》《购买须知》
立即支付
搜题卡使用说明

1. 搜题次数扣减规则:

功能 扣减规则
基础费
(查看答案)
加收费
(AI功能)
文字搜题、查看答案 1/每题 0/每次
语音搜题、查看答案 1/每题 2/每次
单题拍照识别、查看答案 1/每题 2/每次
整页拍照识别、查看答案 1/每题 5/每次

备注:网站、APP、小程序均支持文字搜题、查看答案;语音搜题、单题拍照识别、整页拍照识别仅APP、小程序支持。

2. 使用语音搜索、拍照搜索等AI功能需安装APP(或打开微信小程序)。

3. 搜题卡过期将作废,不支持退款,请在有效期内使用完毕。

请使用微信扫码支付(元)
订单号:
遇到问题请联系在线客服
请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

- 微信扫码关注赏学吧 -
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反赏学吧购买须知被冻结。您可在“赏学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
- 微信扫码关注赏学吧 -
请用微信扫码测试
温馨提示
每个试题只能免费做一次,如需多次做题,请购买搜题卡
立即购买
稍后再说
赏学吧