Hi guys,
I stuffed around with this for a whole day, searching the groups
and trying different methods. So when I finally came up with a solution
I thought I would share it, as it could save someone all the stuffing
round I had to do. Now I don't know if this will solve everyone's
listview copy situation, but it worked for me.
Here is the code:
ListViewItems[] LVIARRY_CopiedListViewItems = new
ListViewItems[LV_FirstListView.Items.Count];
for (int INT_Count=0; INT_Count < LVIARRY_CopiedListViewItems.Length;
INT_Count++)
{
LVIARRY_CopiedListViewItems[INT_Count] =
(ListViewItem)LV_FirstListView.Items[INT_Count].Clone();
}
LV_SecondListView.Items.AddRange(LVIARRY_CopiedLis tViewItems);
Scott.