The(75)page is the introductory page of a set Web pages.
A.First
B.Home
C.Head
D.Host
第1题:
A.在页面Page_Init事件设置Page.MasterPageFile.
B.在页面OnInit事件设置Page.MasterPageFile.
C.在页面Page_Load事件设置Page.MasterPageFile.
D.在页面Page_PreInit事件设置Page.MasterPageFile.
第2题:
A.Page_Error
B.Error
C.Page.ErrorPage
D.Application_Error
第3题:
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);}
第4题:
A. 设置页属性 AutoEventWireup="False"。移除Web窗体元素中onunload="Page_Unload" 。
B. 设置页属性 AutoEventWireup="False"。在Web窗体元素中增加 OnUnload="Page_Unload" 。
C. 设置页属性AutoEventWireup="False"。增加Web窗体属性autocomplete=on。
D. 设置页属性AutoEventWireup="True".
第5题:
YouareimplementinganASP.NETpageinane-commerceapplication.CodeinabtnAddToCart_Clickeventhandleraddsaproducttotheshoppingcart.Thepageshouldcheckthestatusoftheshoppingcartandalwaysshowacarticonwhenoneormoreitemsareintheshoppingcart.Thepageshouldhidetheiconwhentheshoppingcarthasnoitems.Youneedtoaddaneventhandlertoimplementthisrequirement.Whicheventhandlershouldyouadd?()
A.btnAddToCart_Click
B.Page_Load
C.Page_PreRender
D.Page_PreInit
第6题:
在.Net中,类System.Web.UI.Page 可以被继承么?