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

微软认证考试

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

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
答案解析:
进入题库查看解析

微信扫一扫手机做题