多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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:   01 protected override void CreateChildControls()  02 {   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、A
  • B、B
  • C、C
  • D、D
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题