第1题:
YouareimplementinganASP.NETpageinane-commerceapplication.CodeinabtnAddToCart_Clickeventhandleraddsaproducttotheshoppingcart.Thepageshouldcheckthestatusoftheshoppingcartandalwaysshowacarticonwhenoneormoreitemsareintheshoppingcart.Thepageshouldhidetheiconwhentheshoppingcarthasnoitems.Youneedtoaddaneventhandlertoimplementthisrequirement.Whicheventhandlershouldyouadd?()
A.btnAddToCart_Click
B.Page_Load
C.Page_PreRender
D.Page_PreInit
第2题:
Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()
第3题:
要设置某个JSP页面为错误处理页面,以下page指令正确的是()。
第4题:
You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()
第5题:
要创建一个指向当前目录下文件page.htm的链接,在属性检查器的链接栏中应该输入()。
第6题:
与page指令<%@ page import= “java.util.*, java.text.* “ %> 等价的是()。
第7题:
Where do you enable the CRS engine?()
第8题:
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? ()
第9题:
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? ()
第10题:
<% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %>
<% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %>
<% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %>
<% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %>
第11题:
<%@ page %><%@ page %>作用于整个JSP页面
可以在一个页面中使用多个<%@ page %><%@ page %>指令
为增强程序的可读性,建议将<%@ page %><%@ page %>指令放在JSP文件的开头,但不是必须的
<%@ page %><%@ page %>指令中的属性只能出现一次
第12题:
You should use the page directive: <%@ Page StyleSheetTheme=App_Themes.Dark/>
You should use the page directive: <%@ Page Theme=App_Themes.Dark/>
You should use the page directive: <%@ Page Theme=Dark/>
You should use the page directive: <%@ Page StyleSheetTheme=Dark/>
第13题:
A.protectedvoidPage_Load(objectsender,EventArgse){ControluserControl=Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl);}
B.protectedvoidPage_Load(objectsender,EventArgse){ControluserControl=Page.FindControl("TestUserControl.ascx");Page.Form.Controls.Load(userControl);}
C.protectedvoidPage_PreInit(objectsender,EventArgse){ControluserControl=Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl);}
D.protectedvoidPage_PreInit(objectsender,EventArgse){ControluserControl=Page.FindControl("TestUserControl.ascx");Page.Form.Controls.Load(userControl);}
第14题:
()用于声明当前页为error页?
第15题:
Which ensures that a JSP response is of type "text/plain"?()
第16题:
要显示格式为“页码总页数”的页码,应当设置文本框控件的控件来源属性为()。
第17题:
为了指定page1.html、page2.html和page3.html,可以使用以下哪些正则表达式?()
第18题:
要显示格式为”页码/总页数”的页码,应当设置文本框的控件来源属性是()。
第19题:
You create a Web page named TestPage.aspx and a user control named contained in a file named TestUserControl.ascx.You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?()
第20题:
You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()
第21题:
<%@ page errorPage=true %>
<%@ page info=error %>
<%@ page pageEndcoding=error %>
<%@ page isErrorPage=true %>
第22题:
<%@Page strict = true %>
<%@Page enableViewStateMac = true %>
<%@Page EnableEventValidation = true %>
<%@Page Aspcompact = true %>
第23题:
<%@ import="“java.util.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.util.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.util.*" page=""><%@ page import= “java.util.* %> <%@ page import= “java.text.* “ %>
<%@ page import= “java.util.*” , import= “java.text.* “ %>
<%@ page import= “java.util.* “ ; %> <%@ page import= “java.text.* “ ; %>
<%@ page import= “java.util.* ; java.text.* “ %>
第24题:
[Page]/[Pages]
=[Page]/[Pages]
[Page]&”/”&[Pages]
=[Page]&”/”&[Pages]