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

问题:

[单选] You create a Web Form that displays a GridView. The GridViews data source is a DataSet named dsOrders. The DataSet contains two DataTables named Orders and OrderDetails. You create a relation between the two DataTables using the following code segment. (Line numbers are included for reference only.)01 dtOrders = dsOrders.Tables[“Orders”]; 02 dtOrderDetails = dsOrders.Tables[“OrderDetail”]; 03 colParent = dtOrders.Columns[“OrderID”]; 04 colChild = dtOrderDetails.Columns[“ParentOrderID”]; 05 dsOrders.Relations.Add(“Rell”, colParent, colChild, false); You need to find the cause of the exception being raised in line 05. What should you do? ()

A . Ensure that the child column and the parent column have the same names.
B . Ensure that the child table and the parent table have the same names.
C . Ensure that the child column and the parent column have the same data types.
D . Ensure that each row in the child table has a corresponding row in the parent table.
E . Ensure that the tables have an explicit relationship defined by a foreign key constraint in the database.

在PowerPoint文稿中可以绘制和编辑图形。 企业战略体系包括()等层次。 公司层战略。 外部环境战略。 职能层战略。 业务层战略。 测试用例,就是以发现错误为目的而精心设计的一组测试数据和测试执行步骤。 选定需删除的幻灯片后,按一次Delete键即可删除。 起重作业时不得()方向连续运转。 1。 2。 3。 4。 You create a Web Form that displays a GridView. The GridViews data source is a DataSet named dsOrders. The DataSet contains two DataTables named Orders and OrderDetails. You create a relation between the two DataTables using the following code segment. (Line numbers are included for reference only.)01 dtOrders = dsOrders.Tables[“Orders”]; 02 dtOrderDetails = dsOrders.Tables[“OrderDetail”]; 03 colParent = dtOrders.Columns[“OrderID”]; 04 colChild = dtOrderDetails.Columns[“ParentOrderID”]; 05 dsOrders.Relations.Add(“Rell”, colParent, colChild, false); You need to find the cause of the exception being raised in line 05. What should you do? ()
参考答案:

  参考解析

本题暂无解析

在线 客服