Click here to Skip to main content
12,748,332 members (39,703 online)
Click here to Skip to main content
Add your own
alternative version


21 bookmarked
Posted 22 Jul 2007

How to Move List Box Items to another List Box in C#.

, 23 Jul 2007 CPOL
Rate this:
Please Sign up or sign in to vote.
The article demonstrates how to Move List Box Items to another List Box in ASP.NET and C# .
Screenshot - ListBox.jpg


An article to demonstrate How to Move List Box Items to another List Box in ASP.NET and C#.

About the solution

In many web applications it is required use list boxes. Sometimes it is necessary to select some items from one list to another. In this case we use two listboxes. This article demonstrates how to perform basic operations in such case. This operations include Add/Remove/Add All / Remove All functionalities.


List Box control is a standard control in It is similar to a dropdownlist.

Code Snippets

<p style="TEXT-ALIGN: justify">Code to add selected item to the list 


About Me

I am a Software Engineer handling web application projects using Visual studio 2005 .I work in bangalore.


Created on 23-07-2007 by George Zacharia


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


About the Author

George Zacharia
Web Developer
India India
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionDelete these examples with no code. Pin
Member 118062153-Sep-15 10:14
memberMember 118062153-Sep-15 10:14 
Generalsend me full code Pin
Member 1107685011-Sep-14 20:53
memberMember 1107685011-Sep-14 20:53 
Questionplease give full code Pin
Shaikh Sameer7-Mar-14 6:45
memberShaikh Sameer7-Mar-14 6:45 
QuestionMultiple select in single "Add Click" Pin
Sajan S Jabbar20-Aug-12 23:33
memberSajan S Jabbar20-Aug-12 23:33 
GeneralMy vote of 5 Pin
Franco Cipriano20-Jul-12 2:50
memberFranco Cipriano20-Jul-12 2:50 
QuestionPage always reloads Pin
Franco Cipriano20-Jul-12 2:47
memberFranco Cipriano20-Jul-12 2:47 
AnswerRe: Page always reloads Pin
Sajan S Jabbar20-Aug-12 23:34
memberSajan S Jabbar20-Aug-12 23:34 
GeneralMy vote of 3 Pin
Joaquin Garcia27-Jun-12 6:30
memberJoaquin Garcia27-Jun-12 6:30 
QuestionExcellent.... Pin
thothoy28-Jul-11 22:43
memberthothoy28-Jul-11 22:43 
GeneralExcellent work Pin
Tanmay Ghosh1-Jun-11 4:43
memberTanmay Ghosh1-Jun-11 4:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170215.1 | Last Updated 23 Jul 2007
Article Copyright 2007 by George Zacharia
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid