tags:

views:

608

answers:

1

hi I have three listboxes. the selected items from one listbox(lst1) should be populated in another listbox(lst2) on click of add button and accordingly the third listbox(lst3) needs to be populated with values from db as per the selected values in lst2. theres no selecteditems property i m using ms visual studio2005 similar logic need to be used on click of remove button

A: 

someting and somethingelse are listboxes

    For Each Item As ListItem In something.Items
        If Item.Selected Then
            somethingelse.Items.Add(Item)
        End If
    Next
TheTXI