单选题You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customer's name, address, and phone number. You have been asked to provide data validation in a DataGridView to prevent users from leaving the.. You need to ensure that users cannot tab out of the name field without entering data What should you do ?()AValidate the name field in the CellValidating event. Set e.Cancel = true if the name field isBValidate the name field in the CellErrorTextChanged event. Get e.RowIndex if the name field ..CValidate the name field in the CellEnter event. Set the focus on the name field if the name ...DValidate the name field in the CancelRowEdit event. Set the focus on the name field if the name ...

单选题
You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customer's name, address, and phone number. You have been asked to provide data validation in a DataGridView to prevent users from leaving the.. You need to ensure that users cannot tab out of the name field without entering data What should you do ?()
A

 Validate the name field in the CellValidating event. Set e.Cancel = true if the name field is

B

 Validate the name field in the CellErrorTextChanged event. Get e.RowIndex if the name field ..

C

 Validate the name field in the CellEnter event. Set the focus on the name field if the name ...

D

 Validate the name field in the CancelRowEdit event. Set the focus on the name field if the name ...


参考解析

解析: 暂无解析

相关考题:

You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service.Which hosting environment should you choose? ()A. Microsoft Internet Information Services (IIS) 6.0B. Windows Process Activation Services (WAS)C. A Windows Forms applicationD. A Windows Service

You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns:CUST_ID NUMBER(4) NOT NULLCUST_NAME VARCHAR2(100) NOT NULLCUST_ADDRESS VARCHAR2(150)CUST_PHONE VARCHAR2(20)Which SELECT statement accomplishes this task?()A. SELECT* FROM customers;B. SELECT name, address FROM customers;C. SELECT id, name, address, phone FROM customers;D. SELECT cust_name, cust_address FROM customers;E. SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;

You are the administrator of a Windows 2000 network. The network includes a Windows 2000 Server computer that is used as a file server. More than 800 of Ezonexam.com's client computers are connected to this server.A shared folder named Data on the server is on an NTFS partition. The data folder contains more than 200 files. The permissions for the data folder are shown in the following table.Type of permission Account PermissionShare Users ChangeNTFS Users Full ControlYou discover that users are connected to the Data folder. You have an immediate need to prevent 10 of the files in the Data folder from being modified. You want your actions to have the smallest possible effects on the users who are using other files on the server.What two actions should you take? (Choose Two)A.Modify the NTFS permissions for the 10 files.B.Modify the NTFS permissions for the Data folder.C.Modify the shared permissions for the Data folder.D.Log off the users from the network.E.Disconnect the users from the Data folder.

You install a custom application on a computer that runs Microsoft Windows XP. The application stores each user’s data in the %programfiles%\app1\data folder on the computer. You install the custom application on a computer that runs Windows Vista.On the Windows Vista computer, you back up the %programfiles%\app1\data folder and notice that the backup contains no data.You need to back up the application’s user data on the Windows Vista computer.What should you do?()A.AB.BC.CD.D

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a control for the application.You need to ensure that the control meets the following requirements:    (1)Contains the DataGridView, BindingSource, and BindingNavigator controls.  (2)Exposes the properties of the BindingSource control.   (3)Protects the properties of the DataGridView and BindingNavigator controls.    What sholud you do?()A、Extend the Control class.B、Extend the ContainerControl class.C、Create protected accesses for each control property.D、Create public accesses for the properties of the BindingSource control.

You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a DataGridView 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、CellBeginEditB、InvalidatedC、ValidatedD、Validating

You perform a security audit of a server named DC1. You install the Microsoft Network Monitor 3.0 application on DC1. You plan to capture all the LDAP traffic that comes to and goes from the server between 20:00 and 07:00 the next day and save it to the e:/data.cap file. You create a scheduled task. You add a new Start a program action to the task. You need to add the application name and the application arguments to the new action. What should you do?() A、 Add nmcap.exe as the application name. Add the /networks * /capture LDAP /file e:/data.cap / stopwhen /timeafter 11hours line as argumentsB、 Add netmon.exe as the application name. Add the /networks */capture LDA /file e:/data.cap /stopwhen / T.imeafter 11hours line as argumentsC、 Add nmcap.exe as the application name. Add the /networks * /capture !LDAP /file e:/data.cap /stopwhen /timeafter 11hours line as argumentsD、 Add nmconfig.exe as the application name. Add the /networks */capture LDAP /file e:/data.cap / stopwhen /timeafter 11hours line as arguments

You use Microsoft .NET Framework 4 to create a Windows Forms application. You add a new class 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. The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid file names. The application allows users to drag a ListBox item to the RichTextBox control. You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBox control. What should you do?()A、Use a DoubleAnimation class.B、Use a Storyboard animation class.C、Use the DragDropEffects enumeration.D、Use the DragAction enumeration.

You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customer's name, address, and phone number. You have been asked to provide data validation in a DataGridView to prevent users from leaving the.. You need to ensure that users cannot tab out of the name field without entering data What should you do ?()A、Validate the name field in the CellValidating event. Set e.Cancel = true if the name field isB、Validate the name field in the CellErrorTextChanged event. Get e.RowIndex if the name field ..C、Validate the name field in the CellEnter event. Set the focus on the name field if the name ...D、Validate the name field in the CancelRowEdit event. Set the focus on the name field if the name ...

You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application. You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text. What should you do?()A、Override the OnPaint method.B、Write a code segment to handle the CellPainting event.C、Write a code segment to handle the CellParsing event.D、Write a code segment to handle the RowPostPaint event.

Your network contains an Active Directory domain. The domain contains 1000 user accounts.  You have a list that contains the mobile phone number of each user  You need to add the mobile number of each user to Active Directory.     What should you do()A、Create a file that contains the mobile phone numbers, and then run ldifde.exeB、Create a fila that contains the mobile phone numbers, and then run csvde.exeC、From Adsiedit, select the CN=Users container, and then mofify the properties of the container.D、From Active Directory Users and Computers, select all of the users, and then modify the properties of the users.

You have a server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed.   The server contains a Web site that is configured to use only Windows Authentication. You have a security group named Group1 that contains several user accounts.  You need to prevent the members of Group1 from accessing a Web site. You must not prevent other users from accessing the Web site.  Which Web site feature should you configure?()A、AuthenticationB、Authorization RulesC、IIS Manager PermissionsD、SSL Settings

单选题You perform a security audit of a server named DC1. You install the Microsoft Network Monitor 3.0 application on DC1.You plan to capture all the LDAP traffic that comes to and goes from the server between 20:00 and 07:00 the next day and save it to the E:/data.cap file. You create a scheduled task. You add a new Start a program action to the task.You need to add the application name and the application arguments to the new action. What should you do?()AAdd nmcap.exe as the application name. Add the /networks * /capture LDAP /file e:/data.cap /stopwhen /timeafter 11hours line as arguments.BAdd netmon.exe as the application name. Add the /networks */capture LDAP /file e:/data.cap /stopwhen /timeafter 11hours line as arguments.CAdd nmcap.exe as the application name. Add the /networks * /capture !LDAP /file e:/data.cap /stopwhen /timeafter 11hours line as arguments.DAdd nmconfig.exe as the application name. Add the /networks * /capture LDAP /file e:/data.cap /stopwhen /timeafter 11hours line as arguments.

单选题You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a DataGridView 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?()ACellBeginEditBInvalidatedCValidatedDValidating

单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a control for the application.You need to ensure that the control meets the following requirements:    (1)Contains the DataGridView, BindingSource, and BindingNavigator controls.  (2)Exposes the properties of the BindingSource control.   (3)Protects the properties of the DataGridView and BindingNavigator controls.    What sholud you do?()AExtend the Control class.BExtend the ContainerControl class.CCreate protected accesses for each control property.DCreate public accesses for the properties of the BindingSource control.

单选题You use Microsoft .NET Framework 4 to create a Windows Forms application. The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid file names. The application allows users to drag a ListBox item to the RichTextBox control. You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBox control. What should you do?()AUse a DoubleAnimation class.BUse a Storyboard animation class.CUse the DragDropEffects enumeration.DUse the DragAction enumeration.

单选题The accounts receivable department requested an accounts status to allow users to enter either a customer name, customer number, customer phone number and then display the customer out standing balance. You want to restrict the data retrieved based on values entered by the users. Which where clause would you write in the query to select statement to accomplish this task?()Ap_where_clause B:p_where_clause CWHERE CUST_ID=P_CUST_ID or cust_name=:p_cust_name or cust_phone=:p_cust_phone DWhere cust_ID=p_custid cust_name=p_cust_name or cust_phone=p_cust_phone

单选题You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: CUST_ID NUMBER(4) NOT NULL CUST_NAME VARCHAR2(100) NOT NULL CUST_ADDRESS VARCHAR2(150) CUST_PHONE VARCHAR2(20) Which SELECT statement accomplishes this task?()ASELECT* FROM customers;BSELECT name, address FROM customers;CSELECT id, name, address, phone FROM customers;DSELECT cust_name, cust_address FROM customers;ESELECT cust_id, cust_name, cust_address, cust_phone FROM customers;

单选题You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: CUST_ID NUMBER(4) NOT NULL CUST_NAME VARCHAR2(100) NOT NULL CUST_ADDRESS VARCHAR2(150) CUST_PHONE VARCHAR2(20) Which SELECT statement accomplishes this task?()ASELECT* FROM customers;BSELECT name, address FROM customers;CSELECT id, name, address, phone FROM customers;DSELECT cust_name, cust_address FROM customers;ESELECT cust_id, cust_name, cust_address, cust_phone FROM customers;

单选题You have a server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed.   The server contains a Web site that is configured to use only Windows Authentication. You have a security group named Group1 that contains several user accounts.  You need to prevent the members of Group1 from accessing a Web site. You must not prevent other users from accessing the Web site.  Which Web site feature should you configure?()AAuthenticationBAuthorization RulesCIIS Manager PermissionsDSSL Settings

单选题You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service. Which hosting environment should you choose? ()AMicrosoft Internet Information Services (IIS) 6.0BWindows Process Activation Services (WAS)CA Windows Forms applicationDA Windows Service

单选题You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application.You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text.What should you do?()AOverride the OnPaint method.BWrite a code segment to handle the CellPainting event.CWrite a code segment to handle the CellParsing event.DWrite a code segment to handle the RowPostPaint event.

单选题You perform a security audit of a server named DC1. You install the Microsoft Network Monitor 3.0 application on DC1. You plan to capture all the LDAP traffic that comes to and goes from the server between 20:00 and 07:00 the next day and save it to the e:/data.cap file. You create a scheduled task. You add a new Start a program action to the task. You need to add the application name and the application arguments to the new action. What should you do?()A Add nmcap.exe as the application name. Add the /networks * /capture LDAP /file e:/data.cap / stopwhen /timeafter 11hours line as argumentsB Add netmon.exe as the application name. Add the /networks */capture LDA /file e:/data.cap /stopwhen / T.imeafter 11hours line as argumentsC Add nmcap.exe as the application name. Add the /networks * /capture !LDAP /file e:/data.cap /stopwhen /timeafter 11hours line as argumentsD Add nmconfig.exe as the application name. Add the /networks */capture LDAP /file e:/data.cap / stopwhen /timeafter 11hours line as arguments

单选题You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: Which SELECT statement accomplishes this task?()A SELECT* FROM customers;B SELECT name, address FROM customers;C SELECT id, name, address, phone FROM customers;D SELECT cust_name, cust_address FROM customers;E SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;

单选题You add a particular e-mail address to the Blocked Senders list in the Microsoft Windows Mail application. You still receive messages from this e-mail address.  You need to prevent the receipt of all e-mail messages from this e-mail address.  What should you do?()AConfigure the junk e-mail filtering setting to High.BRemove the senders e-mail address from the Safe Senders list.CAdd the senders e-mail domain name to the Blocked Senders list.DConfigure the Microsoft Windows Mail application to delete suspected junk e-mail permanently.

单选题You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()AFrameworkElementBUIElementCUserControlDButton