相关考题

单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a composite custom control named MyControl.  You need to add an instance of the OrderFormData control to the MyControl control.  | English | Chinese | Japan | Korean | - 18 - Test Information Co., Ltd. All rights reserved.  Which code segment should you use? ()

单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version  3.5.  You create a composite custom control named MyControl.  You need to add an instance of the OrderFormData control to the MyControl control.  Which code segment should you use? () | English | Chinese | Japan | Korean | - 17 - Test Information Co., Ltd. All rights reserved.

单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create the following controls:  ¡¤A composite custom control named MyControl.  ¡¤A templated custom control named OrderFormData.  You write the following code segment to override the method named CreateChildControls() in the MyControl class. (Line numbers are included for reference only.)  01 Protected Overloads Overrides Sub CreateChildControls()  02 Controls.Clear()  03 Dim oFData As New OrderFormData("OrderForm")  04  05 End Sub  You need to add the OrderFormData control to the MyControl control.  Which code segment should you insert at line 04? ()