i have create a checkbox in listview...so i wanna know how to check it and export only check item to crystal report so i can print item that i have check... please anyone help me..
arezz09
-2
Junior Poster in Training
Recommended Answers
Jump to PostSee if this helps for locating only the checked items in a ListView.
For Each itm As ListViewItem In ListView1.CheckedItems MsgBox(itm.Text) Next
Or you could use the _ItemChecked event to locate the currently checked item.
Private Sub ListView1_ItemChecked(ByVal sender As Object, ByVal e As …
Jump to Post>>InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index
It is because you probably do not have an item selected since your code checks forListView.SelectedItems(0).SubItems(0).Text
.Private Sub ListView_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView.Click If Not ListView.SelectedItems.Count = 0 …
All 5 Replies
codeorder
197
Nearly a Posting Virtuoso
arezz09
-2
Junior Poster in Training
codeorder
197
Nearly a Posting Virtuoso
arezz09
-2
Junior Poster in Training
codeorder
197
Nearly a Posting Virtuoso
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.