欢迎来到易学考试网 易学考试官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

单项选择题

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>

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题