I have 2 listview.
As soon as i insert data in the first one, i want to insert the other.
Is there an easy way to do?
No duplicating the add.
Printable View
I have 2 listview.
As soon as i insert data in the first one, i want to insert the other.
Is there an easy way to do?
No duplicating the add.
Let me see if i got this straight:
You want to add the same data in the 2 Listviews using only one add statement??
well, i think the only way to do it is a for loop, with an array of controls (this case, an array of listviews).
e.g:
Any other suggestions?? :DVB Code:
Private Sub AddItem(NewItem as String) For i = 0 to 1 List1(i).AddItem(New Item) Next i End Sub
HTH :)