Hello,
I have a ListView in which each item is an array of 5 strings. I add these
string arrays to the ListView by doing the following, where "result" is the
array of 5 strings to add:
listView.Items.Add(new ListViewItem(result));
Now I would like to read one of the items back into an array of 5 strings,
for instance, the array stored as ListView item 0. It seems that the
following would be the symmetrical way of doing it, but obviously it's not:
string [] s = (string [])listView.Items[0];
Of course I can always extract the 5 subitems one at a time into each
element of my string array, but that seems pretty brutal.
Thanks,
Ray