网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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?()
A. Ensure that the Web control inherits from the WebControl class.
B. Ensure that the Web control inherits from the Control class.
C. Ensure that the Web control inherits from the CompositeControl class.
D. Ensure that the Web control inherits from the UserControl class.
参考答案
更多 “ 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?()A. Ensure that the Web control inherits from the WebControl class.B. Ensure that the Web control inherits from the Control class.C. Ensure that the Web control inherits from the CompositeControl class.D. Ensure that the Web control inherits from the UserControl class. ” 相关考题
考题
May I take this book out of the reading room? No,you . You read it in here. ( )A. mightn’tB. won’tC. need’tD. mustn’t
考题
你正在创建一个可以供 Web 应用使用的模板化 Web 控件。你需要在没有编译的情况下能够把此控件增加到你的 Web 页面上,你应该如何做?()
A.确保Web控件从WebControl类继承。B.确保Web控件从Control类继承.C.确保Web控件从CompositeControl类继承.D.确保Web控件从UserControl类继承.
考题
Merry Christmas, George! Here is a card for ________, with ________ best withes.
A.you…yourB.you…ourC.us…ourD.us…your
考题
Oneoftheusecasesinyourwebapplicationusesmanysession-scopedattributes.Attheendoftheusecase,youwanttoclearoutthissetofattributesfromthesessionobject.Assumethatthisstaticvariableholdsthissetofattributenames:201.privatestaticfinalSetUSE_CASE_ATTRS;202.static{203.USE_CASE_ATTRS.add(customerOID);204.USE_CASE_ATTRS.add(custMgrBean);205.USE_CASE_ATTRS.add(orderOID);206.USE_CASE_ATTRS.add(orderMgrBean);207.}Whichcodesnippetdeletestheseattributesfromthesessionobject?()A.session.removeAll(USE_CASE_ATTRS);B.for(Stringattr:USE_CASE_ATTRS){session.remove(attr);}C.for(Stringattr:USE_CASE_ATTRS){session.removeAttribute(attr);}D.for(Stringattr:USE_CASE_ATTRS){session.deleteAttribute(attr);}E.session.deleteAllAttributes(USE_CASE_ATTRS);
考题
( ) – Is Miss White __________ English teacher, Maria?– No, she teaches __________ geography.A.your;myB.you;mineC.you;usD.your;us
考题
You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code.What should you do? ()A. Create a control that derives from System.Web.UI.Control.B. Create a control that derives from System.Web.UI.WebControls.CompositeControl.C. Create a control that derives from System.Web.UI.WebControls.WebControl.D. Create a control that derives from System.Web.UI.UserControl.
热门标签
最新试卷