更多"You are creating a DataTable. You u"的相关试题:
[单项选择] You are creating a DataTable. You use the following code segment to create the DataTable. (Line numbers are included for reference only.) 01 DataTable dt = new DataTable(“Products”); 02 dt.Columns.Add(new DataColumn(“Price”, typeof(decimal))); 03 dt.Columns.Add(new DataColumn(“Quantity”, typeof(Int32))); 04 DataColumn dc = new DataColumn(“Total”, typeof(decimal)); 05 dt.Columns.Add(dc); You need to ensure that the Total column is set to the value of the Price column multiplied by the Quantity column when new rows are added or changed. What should you do? ()
A. Add the following code segment after line 05. dc.ExtendedProperties["Total"] = "Price * Quantity”;
B. Add the following code segment after line 05. dc.Expression = “Prince * Quantity”;
C. Write an event handler for the DataTable's TableNewRow event that updates the row's Total.
D. Write an event handler for the DataTable's ColumnChanged event that updates the row's Total.
[单项选择]What is the correct command for creating a new user ID authenticated with LDAP?()
A. mkuser -R LDAP
B. mkuser -L LDAP
C. mkuser -auth LDAP
D. mkuser -a auth1=LDAP
[单项选择] You are creating a templated Web control for use in your Web application.You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
A. Ensure that the Web control inherits from the WebControl class.
B. Ensure that the Web control inherits from the Control class.
C. Ensure that the Web control inherits from the CompositeControl class.
D. Ensure that the Web control inherits from the UserControl class.
[单项选择]You adjust a default configuration to the following /etc/my.cnf on a Linux installation:[mysqld] Loq-bin Binrylog_format=ROW You do not notice the spelling error in binrylog_format and restart your production server. How does the MySQL server behave with incorrectly spelled options?()
A. Mysqld uses internal configuration versioning and reverts to the previous configuration
B. When using mysql_config_editor for configuration adjustments, it detects incorrect syntax and typing mistakes
C. The mysqld_safe script skips the unknown variable and starts using the remaining configuration changes
D. Mysqld prints to the error log about an unknown variable, and then exits
[单项选择]Which substitution variable would you use if you want to reuse the variable without prompting the user each time? ()
A. &
B. ACCEPT
C. PROMPT
D. &&
[多项选择] You use Microsoft Application Virtualization for Desktops to virtualize applications for client computers. A virtual application that was insta lled 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 ap plication 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.
[单项选择]Which operational command would you use to quickly verify the state of all interfaces?()
A. show interfaces terse
B. show interfaces
C. show configuration interfaces
D. show interface status
[单项选择]Which component should you use to reduce collision issues on a large LAN?()
A. Host
B. Switch
C. Printer
D. Repeater
[多项选择]For which two situations would you use functionality provided by the Resource Manager?()
A. setting idle timeout limits on resource plans
B. saving storage space by using compressed backup sets
C. creating jobs that will run automatically at a scheduled time
D. assigning priorities to jobs to manage access to system resources
E. creating alerts to perform notification when tablespaces are low on available space resources
[单项选择] You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()
A. Enable WPF tracing in the registry.Restart the application.
B. Enable tracing by modifying local Group Policy.Restart the application.
C. Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
D. Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.