试题详情
多项选择题 You create a custom server control named Task that contains the following code segment. You need to ensure that adding a Task control from the Toolbox creates markup in the following format.     Which two actions should you perform?()

A、Add the following code segment to the project’s AssemblyInfo.cs file. [assembly: TagPrefix("DevControls", "Dev")]

B、Replace line 05 with the following code segment. [DefaultValue("New Task")]

C、Insert the following code segment immediately before line 03. [ToolboxData("<{0}:Task runat=/"server/" Title=/"New Task/" />")]

D、Replace line 10 with the following code segment. output.Write("<Dev:Task runat=/"server/" Title=/"New Task/" />");

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

热门试题