單項(xiàng)選擇題

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You write the following code fragment:  
<asp:ListBox SelectionMode="Multiple" ID="ListBox1" runat="server"> 
</asp:ListBox>  
<asp:ListBox ID="ListBox2" runat="server"> 
</asp:ListBox>  
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />   
You need to ensure that when you click the Button1 control, a selected list of items move from the ListBox1 control to the ListBox2 control. 
Which code segment should you use?()

A.A
B.B
C.C
D.D

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題