collection

  • Thread starter Thread starter wudan
  • Start date Start date
W

wudan

how can i take items value or other value listbox or listview with for each

thanks
 
Hi wudan,
The most simple one
\\\
Dim lsv As ListViewItem
For Each lsv In ListView1.Items
MessageBox.Show(lsv.Index.ToString & " " & lsv.Text)
Next
///
I hope this helps a little bit.

Cor
 
Hi,
The following topic help topic shows how to use the Items
collection on a listbox.
ms-help://MS.VSCC/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfsystemwindowsforms
listboxclassitemstopic.htm
Hope that helps.
Thanks,
Sarika
--------------------
 

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