试题详情
- 单项选择题 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 override void 02 CreateChildControls( ) { 03 Controls.Clear( ); 04 OrderFormData oFData = new 05 ?OrderFormData("OrderForm"); 06 07 } You need to add the OrderFormData control to the MyControl control. Which code segment should you insert at line 06?()
A、Controls.Add(oFData);
B、
C、
D、
- B
关注下方微信公众号,在线模考后查看
热门试题
- 您公司拥有运行Windows
- Your company&e
- You create&ens
- You are the adminis
- 选择正确的选项()
- Your company has an
- 你需要设计一个方法使Server5能够远
- You have
- You are t
- Your company has 10
- You work
- Your company has a
- 你是TestKing的电脑管理员,Tom
- Your company has a
- You have
- Your company has a
- You are the network
- You create&ens
- You work
- Your network consis