B
Bikesh Lakhmichand
How does one find an item within a listview by just the text property of an
item ? I know im suppose to pass a ListViewItem to the IndexOf method but
what do i set to the ListViewItem object ? Just the text value of the item
im searching ?
i.e
ls = New ListViewItem("string to search")
dim intPosition as integer= ListView1.Items.IndexOf(ls)
that dont seem to work..
so i decided to make my ls variable form level thats used during the
population of the listview itself
item ? I know im suppose to pass a ListViewItem to the IndexOf method but
what do i set to the ListViewItem object ? Just the text value of the item
im searching ?
i.e
ls = New ListViewItem("string to search")
dim intPosition as integer= ListView1.Items.IndexOf(ls)
that dont seem to work..
so i decided to make my ls variable form level thats used during the
population of the listview itself