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

问题:

[单选] You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.Partial Public Class Custom  Inherits System.Web.UI.MasterPagePublic Property Region As String    Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadEnd SubEnd Class You create a new ASP.NET page and specify Custom.master as its master page.You add a Label control named lblRegion to the new page.  You need to display the value of the master pages Region property in lblRegion.What should you do? ()

A . Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Parent  lblRegion.Text = custom.Region
B . Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Master  lblRegion.Text = custom.Region
C . Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Page.FindControl("lblRegion") lblRegion.Text = Me.Region
D . Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Master.FindControl("lblRegion") lblRegion.Text = Me.Regio

酶在有机溶剂介质中与水溶液中的特性有何改变 加强职业道德建设,要正确对待处理好哪三个关系?() 自主自律能力和职业道德精神的关系。 改革开放与加强职业道德建设的关系。 职业道德教育同思想政治工作的关系。 社会职业道德与具体职业道德的关系。 When you execute the "ip helper-address" command on a router, which three UDP ports getenabled automatically by default?() 53(DNS)。 69(TFTP)。 515(LPR)。 161(SNMP)。 49(TACACS)。 You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if View State is disabled. What should you do?() Require developers to set EnableViewStateMac to true.。 Store state in ControlState instead of ViewState.。 Serialize the state into an Application state entry called "MyControl".。 Require developers to change the session state mode to SQLServer.。 在使用CoolEDitPro过程中,下列说法中正确的是() "FADeIn"处理就是淡入处理,根据需要,对淡入处理的各项参数进行设置,处理后的音频由强到弱逐渐达到音量的正常值。 "FADeout"处理就是淡出处理,根据需要,对淡出处理的各项参数进行设置,处理后的音频由强到弱逐渐变为静音。 "FADeIn"处理就是淡出处理,根据需要,对淡出处理的各项参数进行设置,处理后的音频由强到弱逐渐变为静音。 "FADeout"处理就是淡入处理,根据需要,对淡入处理的各项参数进行设置,处理后的音频由弱到强逐渐达到音量的正常值。 You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.Partial Public Class Custom  Inherits System.Web.UI.MasterPagePublic Property Region As String    Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadEnd SubEnd Class You create a new ASP.NET page and specify Custom.master as its master page.You add a Label control named lblRegion to the new page.  You need to display the value of the master pages Region property in lblRegion.What should you do? ()
参考答案:

  参考解析

本题暂无解析

在线 客服