I'd like to assign a value with text in a listbox.
Similar to:
ListItem Item = new ListItem();
// Text and Value are swapped.
Item.Text = ListBox1.SelectedItem.Value;
Item.Value = ListBox1.SelectedItem.Text;
ListBox2.Items.Add(Item);
But I don't think this works in CF. Anyone got any ideas on how I can do this
Thanks!

Listbox name value pair
Mohamed Ameer
I'm not sure if this is exactly what you're looking for, but have you considered using a ListView If you use the "Details" view, it sounds like possibly what you're looking for.
There's an example here with a link to the code down at the bottom of the page:
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/listviewsort.aspx