Hello.

I have a listbox on a win form that is databound to a datatable.
I add rows to the datatable on the click of a button and this updates the listview.

My issue is that i want to be able to drag the order of the items in the listbox.
I can get it working with static (prepopulated) data, but as soon as i connect the datatable then it refuses to re-order.

Whats my best way of doing this?

Should I un-bind the datatable, re-order the list and then update the datatable (how would i do this?) ?

or should i try to update the datatable as I'm performing the re-order?

Please help. I've not been able to find a solution and I'm tearing out what little hair I have.

Thanks