题目内容

You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master. You add the following code to the TestPage.aspx code-behind file to read a TestMaster.master public property named CityName. protected void Page_Load(object sender, EventArgs e) { string s = Master.CityName; } You need to ensure that TestPage.aspx can access the CityName property. What should you do?()

Add the following directive to TestPage.aspx.
B. Add the following directive to TestPage.aspx.
C. Set the Strict attribute in the @ Master directive of the TestMaster.master page to true.
D. Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.%@>%@>

查看答案
更多问题

民主气氛浓,有利于鼓舞士气,能满足个体心理需要的沟通网络是()

A. 链式
B. 轮式
C. 环式
D. 全通道式
E. 平行式

数据字典产生于数据库设计步骤地()

A. 需求分析阶段
B. 概念设计阶段
C. 逻辑设计阶段
D. 物理设计阶段

触电者解脱电源后,应做哪些简单诊断?

人际吸引中的得失理论是美国心理学家()提出来的。

A. 拜恩和克洛拉
B. 莱文格和斯诺凯
C. 阿伦森
D. 梅特

答案查题题库