You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives. <%@ Master Language="C#" Src="~/article.master.cs" Inherits="article" %> You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site. Which code segment should you use? ()
- A、<%@ Page Language="C#" Theme="article"%>
- B、<%@ Page Language="C#" MasterPageFile="~/article.master"%>
- C、<%@ Page Language="C#" ie:MasterPageFile="~/article.master"%>
- D、<%@Page Language="C#" all:MasterPageFile="~/article.master"%>
正确答案:B
答案解析:有

微信扫一扫手机做题