Hi,
I have items that are stored in a database with the following
attributes: itemID, itemName, itemSortOrder
I have a ListBox that I would like to display these items in. I want the
items to be displayed in a certain order depending on the attribute
itemSortOrder. To allow the user to change the order of the existing
items I'd like to have one 'up' and one 'down' button to 'move' the
currently selected item.
Is there a simple way of this with data binding? I thought maybe it
would be possible to use the CurrencyManager.Position property...
Any suggestions or maybe some example code?
Thanks,
Lorenz
|