KenTan85
asked on
How to get the value or index of a selected ListView???
I am working in Visual Studio 2005 PocketPc VB.NET, currently I had a ListView control, how do I get the user selected item value or index???
ASKER
There is no .SelectedItems in PocketPC Version.
Sorry, seems your correct there, never really played around with PPC dev, you would imagine it was the same code wise. Try this:
listview.selectedindices
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.selectedindices(VS.80).aspx
Hope this helps!
listview.selectedindices
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.selectedindices(VS.80).aspx
Hope this helps!
ASKER
Do not quite understand the way the he used selectindices, could you kindly explain a little n if possible with a little code sample, that would be well.
ASKER
listview.selectedindices is getting the index of the item or wat???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hope this helps!
Open in new window