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