I am having trouble removing the correct item from an listbox. The listbox is filled from an arrayList containing objects in the form :
custNr, custDescBuyC.Text, price.
My main problem is that in the listbox i do not know which item is which in the arrayList, how can I correct this?
The items in the list does not have an id and and the custNr can exist multiple times in the arrayList.
Can I spilt the string that shows in the listbox and from that match the object in the arrayList: How do I split the string in that case?
Jan MontanoPosted Mar 31, 2009, 6:33 AM
assuming that the ordering of your listbox items is the same as the ordering of your arraylist.