Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 14975

need help with listview

$
0
0
i have installed vs 2019 and not sure what vb that is
i think its dot net
i have poulated a listview and need to find out what item in that listview has been selected like 2nd or 5th ?

can you help me out please

i m getting this message

Private Sub btnAdd_Click(sender As Object, e As EventArgs) Handles btnAdd.Click
Dim Price As Double
Dim str As String
For x = 0 To Total - 1

????? how do i get the index to the value in the listview that has been selected?
????
if it was X then

Price = ItemPrice(x)
str = CStr(Price)
MsgBox(str)
End If


Thanks very much

Viewing all articles
Browse latest Browse all 14975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>