题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2024-01-30 19:41:51

[单项选择] You are creating a DataTable. You use the following code segment to create the DataTable. (Line numbers are included for reference only.) 01 Dim dt As New DataTable("Products") 02 dt.Columns.Add(New DataColumn("Price", _ GetType(Decimal))) 03 dt.Columns.Add(New DataColumn("Quantity", _ GetType(Int32))) 04 Dim dc As DataColumn = New DataColumn("Total", _ GetType(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 = "Price * 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.

更多"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.

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码