hi
Im having two user control on a same form that contains 2 listview. id like to take the content of 1 listview by usercontrol and put it in another listview
im presently able to do the content of one listview in one user control but i dont know how to get the content of the second one in the other user control
somebody have an idea ??
here is the code for the content of the first listview :
VB Code:
For i = 1 To lvwAlarmList.ListItems.Count Set itmx = lvwAlarmePrint.ListItems.Add(, , lvwAlarmList.ListItems.Item(i)) For j = 1 To lvwAlarmList.ColumnHeaders.Count - 1 itmx.SubItems(j) = lvwAlarmList.ListItems.Item(i).SubItems(j) Next j Next i
thanks![]()




Reply With Quote