the simplest way to move the data between two ListView control

  • Thread starter Thread starter zbcong
  • Start date Start date
Z

zbcong

hello
there are two ListViews with the SAME coloumns within one winform,i want to
move the data from one ListView into other one,what is the simplest method?

thank you!!
 
For Each item As ListViewItem In ListView1.Items
ListView2.Items.Add(CType(item.Clone, ListViewItem))
Next

/claes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top