|
-
Aug 1st, 2010, 09:03 PM
#1
Thread Starter
New Member
How can I copy a whole listview row into a string?
I have a listbox and a button event that responds to a selection.
Is there a way to get the whole item row (including subitems) and copy it into a string? For example:
engagement = ListView1.SelectedItems(0).Text
that code does exactly what I want but only gets the main item and none of the subitems in my row.
'My Items code
Dim item1 As New ListViewItem(session(0), 0)
item1.SubItems.Add(session(1))
item1.SubItems.Add(session(2))
item1.SubItems.Add(session(3))
item1.SubItems.Add(session(4))
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|