试题详情
单项选择题You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do? ()

A、Ensure that the Web control inherits from the WebControl class.

B、Ensure that the Web control inherits from the Control class.

C、Ensure that the Web control inherits from the CompositeControl class.

D、Ensure that the Web control inherits from the UserControl class.

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题