lester Posted May 29, 2003 Posted May 29, 2003 I'm new to VB.net can someone pls let me know how can I get the index of the selected item in the listview?? TIA. Quote
a_jam_sandwich Posted May 29, 2003 Posted May 29, 2003 If ListView1.SelectedItems.Count > 0 then Msgbox("Selected index is " & ListView1.SelectedItems(0).Index()) end if A message box would display the first selected item in the listview after first checking if more than 1 row is selected. Andy. Quote Code today gone tomorrow!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.