Listbox
How to transfer one listbox field to another listbox alternative according select.like this image.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Madhu KPosted Dec 6, 2010, 12:48 AM
foreach (ListItem item in ListBox1.Items)
{
if (item.Selected == true)
{
ListBox2.Items.Add(item);
}
}
CrishPosted Dec 6, 2010, 5:05 AM
This is perfect code for add item in list box.Thanks for code.