当前位置:MCTS(70-515)题库

问题:

[单选] You create a Web page named TestPage.aspx and a user control named contained in a file named TestUserControl.ascx.You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?()

A . protected void Page_Load(object sender, EventArgs e) { Control userControl=Page.LoadControl("TestUserControl.ascx"); Page.Form.Controls.Add(userControl); }
B . protected void Page_Load(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }
C . protected void Page_PreInit(object sender, EventArgs e) { Control userControl =Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl); }
D . protected void Page_PreInit(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }

不属于静态投资的费用有() 建筑安装工程费。 设备、工器具购置费。 建设期贷款利息。 基本预备费。 什么是成本报表?成本报表的作用是什么? 根据我国民事诉讼法之规定,合议庭的成员人数()。 必须是单数。 可以是单数。 应当是单数。 既可以是单数,又可以是双数。 Refer to the exhibit. Which two statements are true about the output from the show standby vlan50 command?() The command standby 1 preempt was added to Catalyst_A。 Catalyst_A is load sharing traffic in VLAN 50。 Hosts using the default gateway address of 192.168.1.1 will have their traffic sent to192.168.1.11 even after Catalyst_A becomes available again。 Hosts using the default gateway address of 192.168.1.2 will have their traffic sent toCatalyst_A。 谈谈儿童欣赏文学的特殊性。 You create a Web page named TestPage.aspx and a user control named contained in a file named TestUserControl.ascx.You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?()
参考答案:

  参考解析

本题暂无解析

在线 客服