I need help on passing checked list view items into one message box. my current code outputs multiple message box with the name of the item, depends on the number of items checked. what i need is to output into a message box all the items checked in my list view. the items should be posted in multiple lines. is there any way i can do it. i hope you guys can help me.
so far this is my code
Private Sub btnsubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsubmit.Click
Dim litem As ListViewItem
Dim litems As ListView.CheckedListViewItemCollection
litems = lstviewcandidate.CheckedItems
For Each litem In litems
'ListBox1.Items.Add(litem.Text)
MsgBox(litem.Text, MsgBoxStyle.OkOnly + MsgBoxStyle.Information, "Search Results: 0")
Next
End Sub