可学答题网 > 问答 > MCTS(70-515)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You create a custom&en


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?()

  • AAdd the following code segment to the project’s AssemblyInfo.cs file. [assembly: TagPrefix("DevControls", "Dev")]
  • BReplace line 05 with the following code segment. [DefaultValue("New Task")]
  • CInsert the following code segment immediately before line 03. [ToolboxData("<{0}:Task runat=\"server\" Title=\"New Task\" />")]
  • DReplace line 10 with the following code segment. output.Write("<Dev:Task runat=\"server\" Title=\"New Task\" />")
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You are creating a&ens

You&ensp;are&ensp;creating&ensp;a&ensp;Windows&ensp;Forms&ensp;application&ensp;for&ensp;inventory&ensp;management&ensp;by&ensp;using&ensp;the&ensp;.NET&ensp;Framewo...

2、You are creating a&ens

You&ensp;are&ensp;creating&ensp;a&ensp;locally&ensp;managed&ensp;tablespace&ensp;to&ensp;meet&ensp;the&ensp;following&ensp;requirements:&ensp;All&ensp;the&ensp;exte...

3、You create a class&ens

You&ensp;create&ensp;a&ensp;class&ensp;library&ensp;that&ensp;contains&ensp;the&ensp;class&ensp;hierarchy&ensp;defined&ensp;in&ensp;the&ensp;following&ensp;code&ensp...

4、You are creating a&ens

You&ensp;are&ensp;creating&ensp;a&ensp;Windows&ensp;Forms&ensp;application&ensp;by&ensp;using&ensp;the&ensp;.NET&ensp;Framework&ensp;3.5.&ensp;You&ensp;have&ensp;imp...

5、You have created a&ens

You&ensp;have&ensp;created&ensp;a&ensp;resource&ensp;plan,&ensp;DAY.&ensp;You&ensp;execute&ensp;the&ensp;following&ensp;code:&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&e...

6、You are creating a&ens

You&ensp;are&ensp;creating&ensp;a&ensp;new&ensp;security&ensp;policy&ensp;for&ensp;an&ensp;application&ensp;domain.&ensp;You&ensp;write&ensp;the&ensp;following&ensp;...