首页/ 题库 / [单选题]You create a master 的答案

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="VB" CodeFile="article.master.vb" 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? ()

单选题
2021-12-31 18:43
A、&lt;%@ Page Language=&quot;VB&quot; Theme=&quot;article&quot;%&gt;
B、&lt;%@ Page Language=&quot;VB&quot; MasterPageFile=&quot;~/article.master&quot;%&gt;
C、&lt;%@ Page Language=&quot;VB&quot; ie:MasterPageFile=&quot;~/article.master&quot;%&gt;
D、&lt;%@Page Language=&quot;VB&quot; all:MasterPageFile=&quot;~/article.master&quot;%&gt
查看答案

正确答案
B

试题解析

标签: MCTS(70-528)
感兴趣题目

You develop a Web application that contains two master pages.
You need to dynamically set the master page when a user views pages in the application.
What should you do?()

Suppose you begin reading a book on page h and end on page k . If the pages are numbered and read consecutively, then how many pages have you read?
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do?()
You are the administrator of a 12 SQL Server 2000 computers. These servers are located in company offices throughout the world.You configure a multiserver job on the server in your company's New York City office. You configure this server as a master server, and designate the remaining 11 servers as target servers.After the job completes successfully, you decide to set up a new SQL Server 2000 computer as the master server. The new server will be named JobMaster and the other 12 servers will be target servers.You need to make the New York City server a target server instead of a master server. What should you do?
You create a Web Form that displays a GridView. The GridViews data source is a DataSet named dsOrders. The DataSet contains two DataTables named Orders and OrderDetails. You create a relation between the two DataTables using the following code segment. (Line numbers are included for reference only.)01 dtOrders = dsOrders.Tables[“Orders”]; 02 dtOrderDetails = dsOrders.Tables[“OrderDetail”]; 03 colParent = dtOrders.Columns[“OrderID”]; 04 colChild = dtOrderDetails.Columns[“ParentOrderID”]; 05 dsOrders.Relations.Add(“Rell”, colParent, colChild, false); You need to find the cause of the exception being raised in line 05. What should you do? ()
You are creating a JSP page to display a collection of data. This data can be displayed in several differentways so the architect on your project decided to create a generic servlet that generates a comma-delimitedstring so that various pages can render the data in different ways. This servlet takes on request parameter:objectID. Assume that this servlet is mapped to the URL pattern:/WEB-INF/data. In the JSP you are creating, you need to split this string into its elements separated by commas andgenerate an HTML list from the data. Which JSTL code snippet will accomplish this goal?()
You are creating a JSP page to display a collection of data. This data can be displayed in several differentways so the architect on your project decided to create a generic servlet that generates a comma-delimitedstring so that various pages can render the data in different ways. This servlet takes on request parameter:objectID. Assume that this servlet is mapped to the URL pattern:/WEB-INF/data. In the JSP you are creating, you need to split this string into its elements separated by commas andgenerate an HTML list from the data. Which JSTL code snippet will accomplish this goal?()
You are the administrator of a SQL Server 2000 computer. You have two new hard disks on which you will create a database named inventory. You want to insert, update, and delete data as quickly as possible.
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. 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 ______ copies a photograph, drawing or page of text into the computer.
A(68)copies a photograph,drawing or page of text into the computer.

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 
You declare a class named PictureContainer that has a property named Photo.  
The Photo property is of the byte[] type and contains an image in the JPEG format. 
You assign a collection of the PictureContainer elements to the current DataContext.  
You need to create a ListBox control that displays the images. 
Which code fragment should you use?()

相关题目
The master()in delivering the goods to the consignee named in the bill of lading on production thereof,or to the first person who presents a properly indorsed bill of lading.
You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do? ()
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="VB" CodeFile="article.master.vb" 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? ()
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? ()

You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file.
What should you do?()

When should you create a role? ()
URLs have three parts:the DNS name of machine on which the page is located,then a local name uniquely indicating the specific page and
You need to create a web share on your Windows 2000 Professional computer named Admin01. You create a folder named reports. Then you configure web sharing on Reports. You name the share WebReports and allow Read permissions on the share.You test the web share by pointing to http://admin01/WebReports from another computer. You receive the following error message, 'You are not authorized to view this page.'You need to be able to access the folder. What must you do?
The usual address for a Web site is the ______ page address,although you can enter the address of any page and have that page sent to you.
The usual address for a Web site is the ______ page address, although you can enter the address of any page and have that page sent to you.
The usual address for a Web site is the(74)page address, although you can enter the address of any page and have that page sent to you.
● The usual address for a Web site is the (75) page address, although you can enter the address of any page and have that page sent to you.(75)
The usual address for a Web site is the(75)page address, although you can enter the address of any page and have that page sent to you.

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 
You need to ensure that users can view content in a book-reading format that displays two pages at a time. 
Which control should you use?()

You create a Web Form that contains a button named btnCancel that enables users to exit the page. When users click this button, validation must not occur. During testing you learn that clicking the Cancel button does not enable users to exit the page. You need to ensure that users can always exit the page.
What should you do?()

You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()

You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET.
Which two actions should you perform?()

You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()
our company has a DNS server named server1. Your partner company has a DNS server named server2. You create a stub zone on server1. The master for the stub zone is server2. Serve2 fails. You discover that users are not able to resolve named for the partner company. You need to ensure that users are able to resolve named for the partner company in the event that server2 fails. What should you do?()
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()
广告位招租WX:84302438

免费的网站请分享给朋友吧