网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
The page will be posted to the server after one or more image files are selected for upload.You need to ensure that all unuploaded files are saved to the server within one call to a single event handler. What should you do? ()
- A、Read the HttpRequest.Files property and call the HttpPostedFile.SaveAs method for each file.
- B、Read the HttpRequest.inputStream property and call the System.Io.File.WriteLines method for each file.
- C、Read the HttpRequest.inputStream property and call the HttpResponse.WriteLine method for each file.
- D、Read the HttpRequest.Files property and call the System.Io.File.WriteLines method for each file.
参考答案
更多 “ The page will be posted to the server after one or more image files are selected for upload.You need to ensure that all unuploaded files are saved to the server within one call to a single event handler. What should you do? ()A、Read the HttpRequest.Files property and call the HttpPostedFile.SaveAs method for each file.B、Read the HttpRequest.inputStream property and call the System.Io.File.WriteLines method for each file.C、Read the HttpRequest.inputStream property and call the HttpResponse.WriteLine method for each file.D、Read the HttpRequest.Files property and call the System.Io.File.WriteLines method for each file.” 相关考题
考题
要在页面上创建一个指向上一级目录中文件page. htm 的链接,在属性检查器的链接栏中应该输入( )。
A./page. htmB.mailto: page. HtmC.page.htmD.一/page. htm
考题
要显示格式为“页码/总页数”的页码,应当设置文本框的控件来源属性是( )。A.[pages]/[page]B.=[pages]/[page]C.[page]&"/"&[pages]D.=[page]&"/"&(pages]
考题
You create a master page named PageBase.master. The master page contains a Label control named lblTitle.You create a content page that references the master page.You need to change the Text property of the master page‘s lblTitle control from the content page.Which code segment should you use?()A.B.C.D.
考题
YouareimplementinganASP.NETpageinane-commerceapplication.CodeinabtnAddToCart_Clickeventhandleraddsaproducttotheshoppingcart.Thepageshouldcheckthestatusoftheshoppingcartandalwaysshowacarticonwhenoneormoreitemsareintheshoppingcart.Thepageshouldhidetheiconwhentheshoppingcarthasnoitems.Youneedtoaddaneventhandlertoimplementthisrequirement.Whicheventhandlershouldyouadd?()A.btnAddToCart_ClickB.Page_LoadC.Page_PreRenderD.Page_PreInit
考题
YoucreateaWebpagenamedTestPage.aspxandausercontrolnamedcontainedinafilenamedTestUserControl.ascx.YouneedtodynamicallyaddTestUserControl.ascxtoTestPage.aspx.Whichcodesegmentshouldyouuse?()
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);}
考题
Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A、%@ page %%@ page %作用于整个JSP页面B、可以在一个页面中使用多个%@ page %%@ page %指令C、为增强程序的可读性,建议将%@ page %%@ page %指令放在JSP文件的开头,但不是必须的D、%@ page %%@ page %指令中的属性只能出现一次
考题
()用于声明当前页为error页?A、<%@ page errorPage="true" %>B、<%@ page info="error" %>C、<%@ page pageEndcoding="error" %>D、<%@ page isErrorPage="true" %>
考题
要设置某个JSP页面为错误处理页面,以下page指令正确的是()。A、〈%@ page errorPage="true"%〉B、〈%@ page isErrorPage="true"%〉C、〈%@ page extends="javax.servlet.jsp.JspErrorPage"%〉D、〈%@ page info="error"%〉
考题
Which ensures that a JSP response is of type "text/plain"?()A、%@ page mimeType="text/plain" %B、%@ page contentType="text/plain" %C、%@ page pageEncoding="text/plain" %D、%@ page contentEncoding="text/plain" %E、% response.setEncoding("text/plain"); %
考题
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?()A、% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %B、% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %C、% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %D、% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %
考题
要显示格式为“页码总页数”的页码,应当设置文本框控件的控件来源属性为()。A、[page]/[pages]B、=[page]/[pages]C、[page]“/“[pages]D、=[page]“/“[pages]
考题
要创建一个指向当前目录下文件page.htm的链接,在属性检查器的链接栏中应该输入()。A、#page.htmB、mailtl:page.htmC、page.htmD、/page.htm
考题
为了指定page1.html、page2.html和page3.html,可以使用以下哪些正则表达式?()A、^/page(1B、^/page[1-3]/.htmlC、^/page[123]/.htmlD.D、^/page[1-3]+/.html
考题
与page指令%@ page import= “java.util.*, java.text.* “ % 等价的是()。A、%@ 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.* “ % B、%@ page import= “java.util.*” , import= “java.text.* “ % C、%@ page import= “java.util.* “ ; % %@ page import= “java.text.* “ ; %D、%@ page import= “java.util.* ; java.text.* “ %
考题
要显示格式为”页码/总页数”的页码,应当设置文本框的控件来源属性是()。A、[Page]/[Pages]B、=[Page]/[Pages]C、[Page]”/”[Pages]D、=[Page]”/”[Pages]
考题
Where do you enable the CRS engine?()A、Publisher Activation page B、Component Activation page C、Cluster Setup page D、Server Setup page
考题
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?()A、protected void Page_Load(object sender, EventArgs e) { Control userControl=Page.LoadControl("TestUserControl.ascx"); Page.Form.Controls.Add(userControl); }B、protected void Page_Load(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }C、protected void Page_PreInit(object sender, EventArgs e) { Control userControl =Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl); }D、protected void Page_PreInit(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }
考题
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? ()A、Set Page.MasterPageFile in the Page's Page_Init event.B、Set Page.MasterPageFile in the Page's OnInit event.C、Set Page.MasterPageFile in the Page's Page_Load event.D、Set Page.MasterPageFile in the Page's Page_PreInit event.
考题
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?()A、%@Page strict = "true" % B、%@Page enableViewStateMac = "true" %C、%@Page EnableEventValidation = "true" %D、%@Page Aspcompact = "true" %
考题
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? ()A、%@ Page Language="VB" Theme="article"%B、%@ Page Language="VB" MasterPageFile="~/article.master"%C、%@ Page Language="VB" ie:MasterPageFile="~/article.master"%D、%@Page Language="VB" all:MasterPageFile="~/article.master"%
考题
单选题()用于声明当前页为error页?A
<%@ page errorPage=true %>B
<%@ page info=error %>C
<%@ page pageEndcoding=error %>D
<%@ page isErrorPage=true %>
考题
单选题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?()A
% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %B
% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %C
% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %D
% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %
考题
单选题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?()A
%@Page strict = true % B
%@Page enableViewStateMac = true %C
%@Page EnableEventValidation = true %D
%@Page Aspcompact = true %
考题
单选题Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A
%@ page %%@ page %作用于整个JSP页面B
可以在一个页面中使用多个%@ page %%@ page %指令C
为增强程序的可读性,建议将%@ page %%@ page %指令放在JSP文件的开头,但不是必须的D
%@ page %%@ page %指令中的属性只能出现一次
考题
单选题与page指令 等价的是()。A
%@ 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.* “ % B
%@ page import= “java.util.*” , import= “java.text.* “ % C
%@ page import= “java.util.* “ ; % %@ page import= “java.text.* “ ; %D
%@ page import= “java.util.* ; java.text.* “ %
考题
单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You create a folder named Dark in the App_Themes folder of the Web application. You also addfour skin files to this folder. You have to make sure that the controls on a page have their appearances overridden by the control definitions defined in the skin files. What should you do? Which Page directive should you use?()A
You should use the page directive: %@ Page StyleSheetTheme=App_Themes.Dark/B
You should use the page directive: %@ Page Theme=App_Themes.Dark/C
You should use the page directive: %@ Page Theme=Dark/D
You should use the page directive: %@ Page StyleSheetTheme=Dark/
考题
单选题要显示格式为”页码/总页数”的页码,应当设置文本框的控件来源属性是()。A
[Page]/[Pages]B
=[Page]/[Pages]C
[Page]”/”[Pages]D
=[Page]”/”[Pages]
热门标签
最新试卷