Hello,
I want to store all ListView items of index (2) in a MultiLine TextBox,
Please explain how can i transfer all listed text of specific index

Recommended Answers

All 3 Replies

You would do something like -

Text1.Text = ListView1.ListItems(2) 'Where (2) is the index in the listview. This can be changed to whichever list item you want to add.

I already tried this, its not working. i want to store all listed items of column index (2) in a MultiLine TextBox... How can i do this please explain

Use a for loop to run through from one to count or 0 to count-1 (I forget) and use text1.text= text1.text & ... & vbnewline

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.