Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Remove multiple selected items listbox

Reply
Thread Tools

Remove multiple selected items listbox

 
 
Adrian Forbes
Guest
Posts: n/a
 
      08-07-2003
I know I shouldn't answer but I'm an attention whore

While ListBox1.SelectedItems.Count > 0
ListBox1.Items.Remove(ListBox1.SelectedItem)
End While

>-----Original Message-----
>How, using asp.net (vb.net), can I remove multiple
>selected items from a listbox. Everything I try does not
>seem to work. Thanks in advance.
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listbox move multiple selected items to second listbox K B ASP .Net 2 01-08-2007 11:16 AM
DropDownList 2 always returns Selected = 0 for all items - even selected item Iain ASP .Net 3 12-11-2006 11:07 AM
ListBox Programaticly Set Multiple Items as Selected Jason L Lind ASP .Net Web Controls 0 04-11-2006 10:55 PM
Work with multiple selected items from a ListBox Ryan Ternier ASP .Net 0 10-27-2005 06:19 PM
Remove multiple items from listbox in Javascript [Chatakondu Gallery] Suresh Javascript 1 04-16-2004 08:49 PM



Advertisments