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 Asp.net. It is similar to a dropdownlist.
<p style="TEXT-ALIGN: justify">Code to add selected item to the list
<p style="TEXT-ALIGN: justify">Protected void btnAdd_Click(object sender, EventArgs e)
if (lstEmployees.SelectedIndex >
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