当前位置:MCTS(70-528)题库

问题:

[单选]

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.

预应力混凝土预制构件的混凝土强度等级不应低于()。 C25。 C30。 C35。 C40。 小赵收到一封不太熟悉人员的主题为“生日快乐”的邮件,恰当的做法是()。 直接打开。 直接删除。 启用邮件病毒监控程序,在确认安全的情况下,打开邮件。 不予理睬,随他去。 You install WSUS on a server that runs Windows Server 2008. You need to ensure taht the traffic between the WSUS administrative website and the server administrators computer is encrypted. What should you do? ()  Configure SSL encryption on the WSUS server website.。  Run the netdom trust /SecurePasswordPrompt command on the WSUS server。  Configure the NTFS permissions on the content directory to Deny Full Controll permission to the Everyone group。  Configure the WSUS server to require Integrated Windows Authentication (IWA) when users connect to the WSUS server.。 1岁左右婴儿会出现“分离痛苦”。 令牌总线网采用()协议标准。 IEEE 802.3。 IEEE 802.5。 IEEE 802.4。 IEEE 802.6。

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? ()

参考答案:

  参考解析

本题暂无解析

在线 客服