网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

Exhibit:You develop a Web control to manage credit card information. The Web control is shown in the exhibit. You register the control on the Web Form by using the following code segment. <%@ Register Assembly="CreditCardUserDetails" Namespace="CreditCardUserDetails" TagPrefix="cc1" %> You need to declare the control on the Web Form. Which code segment should you use?()

A. <cc1:CreditCardDetails ID ="CreditCardDetails1" runat="server" Name="test"></cc1:CreditCardDetails><asp:TextBox ID="TxtName" runat="server" Text="<%#CreditCardDetails1.Name%>"></asp:TextBox>

B. <cc1:CreditCardDetails ID ="CreditCardDetails1" runat="server" Name="%#Container.Name%"></cc1:CreditCardDetails>

C. <cc1:CreditCardDetails I D="CreditCardDetails1" runat="server"> <Template> <asp:TextBox ID="TxtName" runat="server" Text="<%#Container.Name%>"></asp:TextBox> </Template></cc1:CreditCardDetails>

D. <cc1:CreditCardDetails I D="CreditCardDetails1" runat="server"> <Template> <asp:TextBox ID="TxtName" runat="server" Text="<%#Container.Template%>"></asp:TextBox> </Template></cc1:CreditCardDetails>


参考答案

更多 “ Exhibit:You develop a Web control to manage credit card information. The Web control is shown in the exhibit. You register the control on the Web Form by using the following code segment. %@ Register Assembly=CreditCardUserDetails Namespace=CreditCardUserDetails TagPrefix=cc1 % You need to declare the control on the Web Form. Which code segment should you use?()A. cc1:CreditCardDetails ID =CreditCardDetails1 runat=server Name=test/cc1:CreditCardDetailsasp:TextBox ID=TxtName runat=server Text=%#CreditCardDetails1.Name%/asp:TextBoxB. cc1:CreditCardDetails ID =CreditCardDetails1 runat=server Name=%#Container.Name%/cc1:CreditCardDetailsC. cc1:CreditCardDetails I D=CreditCardDetails1 runat=server Template asp:TextBox ID=TxtName runat=server Text=%#Container.Name%/asp:TextBox /Template/cc1:CreditCardDetailsD. cc1:CreditCardDetails I D=CreditCardDetails1 runat=server Template asp:TextBox ID=TxtName runat=server Text=%#Container.Template%/asp:TextBox /Template/cc1:CreditCardDetails ” 相关考题
考题 Flash中怎样允许帧actions生效?A. 选择 Control >Loop PlaybackB. 选择 Control >Play All ScenesC. 选择 Control >Mute SoundsD. 选择 Control >Enable Frame. Actions

考题 你正在创建一个自定义控件。控件的 UI 必须要包含几个文本框和两个按钮。要求,此控件在全局程序级缓冲中有效并且可供多个 Web 应用同时使用。为了用最少的代码实现这些功能,你该如何做?() A.控件从System.Web.UI.Control继承。B.控件从System.Web.UI.WebControls.CompositeControl继承.C.控件从System.Web.UI.WebControls.WebControl继承.D.控件从System.Web.UI.UserControl继承

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

考题 你使用拖放控件到 Visual Studio 2005 页面设计器的方式,给 ASP.NET Web 窗体增加了一个用户控件 MyControl。请问,Visual Studio 给你的 Web 窗体做了那些变化?() A.为 Web 窗体的 body 增加了control id=MyControl1 Runat=server /元素。B.为 Web 窗体增加了@ Register 标记。C.为 Web 窗体的 body 增加了uc1:MyControl id=MyControl1 Runat=server / 元素。D.在 Web 窗体的head节增加了meta control=MyControl 元素。E.为 Web 窗体增加了@ Control 标记

考题 VS.net 中支持 web.control有哪几个,分页的原理是什么?优缺点又是什么?如果不依赖web control 数据量大时如何实现分页?

考题 Whileinstallinganapplication,theadministratorisinstructedtoperformtwofinaltaskspriortostartingtheapplication:1.Settheownershipofafilenamed’control_file’tobeownedbytheuser’database’andthegroup’appsrvr’.2.Changethepermissionsof’control_file’to0766.Afterthesetwotaskshavebeencompleted,whatwillthefilepermissionslooklikewhen’ls-lcontrol_file’isexecuted?()A.-rwxrw-rw-1databaseappsrvr4913Mar1708:24control_fileB.-rw-r--r--1appsrvrdatabase4913Mar1708:24control_fileC.-rw-r--r--1databaseappsrvr4913Mar1708:24control_fileD.-rwxrw-rw-1appsrvrdatabase4913Mar1708:24control_file

考题 使用数据库初始化参数文件中的()参数可以指定控制文件名。 A.CONTROL_FILESB.CONTROL_FILES_NAMEC.CONTROL_NAMED.CONTROL_FILE

考题 以下哪些日志文件在占用空间过大时,不宜作删除处理,而需要清空:()。 A.control.sh.logB.syslog.logC.dailypps.logD.mail.log

考题 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.

考题 以下键盘快捷方式中可以取消选区的是?A.control键+N键B.control键+D键C.control键+Y键D.control键+Z键