OK, um...
Sorry, I mean datatable, I'm not brand new to ADO.NET, sorry, "Syntax Error" on my part. Lol. So yeah I am populating the checkedlistbox from a datatable on a dataset. But I'm working with a relationship or a associative entity - in other words, the filled listbox is sorted by the ID Column in Table 1, (displaying a different column though) and my Relationship Entity is called Table1@Table2 or whatever. So I'm adding the Row to the Table1@Table2 table, but I need to figure out which position the checked item is in in the ListBox. THis would be relatively simple, but there is an opportunity to select multiple items.
SO going back to my code, I'm using a loop...
Dim item as object
For Each item In CheckedBox1.SelectedItems
***
Next
I need to figure out the code for finding the current position in the listbox.
My problem is theres no such thing as
Dim item as CheckedListBoxItem
So the code for finding the current position needs to go where the *** is above.
On a different note, I see your in portugal; I'm portuguese! In fact my grandparents (who live in Cascais) were just here, (I live in America atm).
TIA
Adam