Databound List Box
Hi All,
I have two listboxes (we'll call lstTarget and lstSource). Both are set to MultiExtended and bound to a datatable. I want to be able to add multiple items from lstSource to lstTarget (which works fine) and then remove the selected items from lstSource. So far it only works for continuously selected items, but a logic error occurs when you select non-continuous items.
Apparently you have to make changes to the underlying datatable, not the listbox, however, the lstSource.Remove(objRow) generates an exception.
Thanks,
Kunkel
|