考题
若要创建一个使用母版页template.master的内容页showData.aspx,需要在内容页的头部添加指令。
A、@ MasterB、@ PageC、@ ContentD、@ MasterPage
考题
You’re going to have a quiz ( )by another two in the ( )month.
A. followed,followedB. followed,followingC. following,followedD. following,following
考题
你创建了一个名为Template.master的母版页。Template.master包含了如下的ContentPlaceHolder 服务器控件。你创建了10个Web窗体,它们都使用Template.master作为母版页。每个Web窗体有如下的Content控件和母版页的ContentPlaceHolder控件进行对应。现在,你需要配置Web页,使其当Web窗体没有提供content的时候,默认的内容将显示在area2ContentPlaceHolder控件中。你应该怎么做?()A. 在Template.master 中,移动默认内容到area2中。从不提供内容的Web窗体中移除area2。B. 在Template.master 中,移动默认内容到area2中。在不提供内容的Web窗体中留下空白的 area2 Content声明。C. 在Web窗体中,移动默认内容到area2中。在Template.master 中移除area2。D. 在Template.master中创建一个名为area2_default 的ContentPlaceHolder 控件。然后,放 默认内容在area2_default中。从不提供内容的Web窗体中移除area2。
考题
YouarecreatinganASP.NETWebsite.ThesitehasamasterpagenamedCustom.master.Thecode-behindfileforCustom.mastercontainsthefollowingcodesegment.YoucreateanewASP.NETpageandspecifyCustom.masterasitsmasterpage.YouaddaLabelcontrolnamedlblRegiontothenewpage.Youneedtodisplaythevalueofthemasterpage’sRegionpropertyinlblRegion.Whatshouldyoudo?()A.AddthefollowingcodesegmenttothePage_Loadmethodofthepagecode-behindfile. CustomMastercustom=this.ParentasCustomMaster;lblRegion.Text=custom.Region;B.AddthefollowingcodesegmenttothePage_Loadmethodofthepagecode-behindfile.CustomMastercustom=this.MasterasCustomMaster;lblRegion.Text=custom.Region;C.AddthefollowingcodesegmenttothePage_LoadmethodoftheCustom.Master.cscode-behindfile.LabellblRegion=Page.FindControl(lblRegion)asLabel;lblRegion.Text=this.Region;D.AddthefollowingcodesegmenttothePage_LoadmethodoftheCustom.Master.cscode-behindfile.LabellblRegion=Master.FindControl(lblRegion)asLabel;lblRegion.Text=this.Region;
考题
AJSPpageneedstoinstantiateaJavaBeantobeusedbyonlythatpage.Whichtwojsp:useBeanattributesmustbeusedtoaccessthisattributeintheJSPpage?()
A.idB.typeC.nameD.classE.scopeF.create
考题
命令在当前设计中创建一个时钟。A.create_clockB.create clockC.clock_nameD.clock name
考题
在.aspx文件中常用的页面指令通常包括A.<%@Page%>B.<%@Import%>C.<%@Control%>D.<%@Master%>
考题
1、三个层并排,分别引用样式con1、con2和con3,这三个样式都设置为向右浮动,则三个层从左到右的排列顺序为:A.con1、con2、con3B.con3、con2、con1C.con1、con3、con2D.con3、con1、con2
考题
在.aspx文件中常用的页面指令通常包括:A.<%@Page%>B.<%@Import%>C.<%@Control%>D.<%@Master%>
考题
四个层并排,按顺序分别引用样式con1、con2、con3和con4,其中con1、con3和con4这三个样式都设置为向右浮动,con2的样式向左浮动,则四个层从左到右的排列顺序为:A.con1、con2、con3、con4B.con2、con4、con3、con1C.con1、con2、con4、con3D.con1、con3、con4