移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

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 Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadDim s As String = Master.CityNameEnd Sub  You need to ensure that TestPage.aspx can access the CityName property. What should you do?()

发布日期:2020-04-10

You are implementing an ASP.NET application that i...
A

Add the following directive to TestPage.aspx. <%@ MasterType VirtualPath=~/TestMaster.master %>

B

Add the following directive to TestPage.aspx. <%@ PreviousPageType VirtualPath=~/TestMaster.master %>

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.

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

CMS专题

CMS专题

去刷题
热门试题热门资讯 相关试题

暂无相关推荐~