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.


相关考题:

You’ll be punished by law if you ________ your child. (A) use(B) abuse(C) used(D) abused

Your little girl is becoming very rude. You ________ scold her. A.mayB.canC.ought toD.need

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

If _______ want to stay in good shape, you should do more exercise. A.weB.peopleC.oneD.you

你正在创建一个可以供 Web 应用使用的模板化 Web 控件。你需要在没有编译的情况下能够把此控件增加到你的 Web 页面上,你应该如何做?() A.确保Web控件从WebControl类继承。B.确保Web控件从Control类继承.C.确保Web控件从CompositeControl类继承.D.确保Web控件从UserControl类继承.

What's ( )job? Are ( ) British?A. your, yourB. you, yourC. your, you

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.