搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

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.

更多“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? ()”相关的问题
第1题

A、Specify Marketing.Testking.com and Sales.Testking.com as the host header names for the two new Web sites.  B、For each new Web site, create a file named Default.htm in the directory path.  C、For each new Web site, specify a unique TCP port. Ensure that all client computers use the appropriate port to connect to each site,  D、For all Web sites, create custom HTTP headers.  E、For all Web sites, specify unique IP addresses. Modify the appropriate host records on the DNS server.  F、For all Web sites, enable anonymous access.  

点击查看答案
第2题

A、Configure a GlobalNames zone and add a Host (A) resource record for Web1.  B、Create an Alias (CNAME) resource record for Web1 in the forest root domain zone.  C、Create a reverse lookup zone and add an Alias (CNAME) resource record for Web1.  D、Create a Host Information (HINFO) resource record for Web1 in the forest root domain zone.  

点击查看答案
第3题

AA. Ensure that the Web control inherits from the WebControl class.  B、B. Ensure that the Web control inherits from the Control class.  C、C. Ensure that the Web control inherits from the CompositeControl class.  D、D. Ensure that the Web control inherits from the UserControl class.  

点击查看答案
第6题

ACreate a control that derives from System.Web.UI.Control.  B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.  C、Create a control that derives from System.Web.UI.WebControls.WebControl.  D、Create a control that derives from System.Web.UI.UserControl.  

点击查看答案
第7题

ACreate a control that derives from System.Web.UI.Control.  B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.  C、Create a control that derives from System.Web.UI.WebControls.WebControl.  D、Create a control that derives from System.Web.UI.UserControl.  

点击查看答案
第8题

ACreate a control that derives from System.Web.UI.Control.  B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.  C、Create a control that derives from System.Web.UI.WebControls.WebControl.  D、Create a control that derives from System.Web.UI.UserControl.  

点击查看答案
第10题

A、Modify the connection string in the Web.config file to connect to the CRM database.  B、Add new a SqlMembershipProvider to the Web.config file.  C、Create a custom Membership Provider inheriting from MembershipProvider.  D、Create a custom MembershipUser inheriting from MembershipUser.  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服