G
Guest
Hi,
I have a windows form, in C#. It has a ListView on it. For a couple of
reasons I now need to be have multiple sets of Data that can be dynamically
Copied into and out of the ListView. But I'm having realy trouble with
it....and feeling pretty frustrated.
I firstly tried copying over listView.Items - which is ok to read out of,
but its a read only property and can be copied back over.
Also tried listView.Items.CopyTo (lviArray) and tried a
listView2.Items.AddRange (lviArray), but I get an exception about data
already existing else where either remove it first or clone it. Tried
cloning it but that doesn't seem to work either.
Feel I am missing something. Any help would be appreciated.
Thanks,
Laura
I have a windows form, in C#. It has a ListView on it. For a couple of
reasons I now need to be have multiple sets of Data that can be dynamically
Copied into and out of the ListView. But I'm having realy trouble with
it....and feeling pretty frustrated.
I firstly tried copying over listView.Items - which is ok to read out of,
but its a read only property and can be copied back over.
Also tried listView.Items.CopyTo (lviArray) and tried a
listView2.Items.AddRange (lviArray), but I get an exception about data
already existing else where either remove it first or clone it. Tried
cloning it but that doesn't seem to work either.
Feel I am missing something. Any help would be appreciated.
Thanks,
Laura