steve_rm
Oct 12th, 2003, 06:34 AM
Hello
I am using the code below to add multiple items from a list box called lstNamesToAdd to another list box called lstNames.
I click multiple items and then click a button to add them. The code does not work. Can anyone tell me the best way to this
lstName.Items.Add(lstNameToAdd.SelectItems);
lstNamesToAdd.Items.Remove(lstNamesToAdd.SelectedItems);
Question 2
Does C# use a inputbox to accept input from a user?
Many thanks in advance
Steve
I am using the code below to add multiple items from a list box called lstNamesToAdd to another list box called lstNames.
I click multiple items and then click a button to add them. The code does not work. Can anyone tell me the best way to this
lstName.Items.Add(lstNameToAdd.SelectItems);
lstNamesToAdd.Items.Remove(lstNamesToAdd.SelectedItems);
Question 2
Does C# use a inputbox to accept input from a user?
Many thanks in advance
Steve