<asp:ListBox ID="ListBox1" runat="server" SelectionMode="Multiple"> <asp:ListItem>1</asp:ListItem> <asp:ListItem>2</asp:ListItem> <asp:ListItem>3</asp:ListItem></asp:ListBox>
ListBox1.GetSelectedIndices();