Click here to Skip to main content
15,896,557 members
Articles / Web Development / ASP.NET

Remove multiple items from ListBox

Rate me:
Please Sign up or sign in to vote.
3.40/5 (9 votes)
9 Feb 2011CPOL 45.5K   3  
There is no direct way to remove multiple selected items from ListBox when SelectionMode of ListBox is set to "Multiple". So there is a small solution to handle this situation.In following Example ListBox "lstCity" contains multiple cities and SelectionMode is set "Multiple".

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available Yes 9-Feb-11 1:30 Available Chris Maunder
1 No 12-May-10 22:39 Composing

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions