Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I need help in implementing this below:

I have a list view containing students courseworks, one column holding the barcode IDs, one column holding subject code, one holding the coursework title and one holding the due dates.
I want to have a button click event where by it checks the selected row (NB: i activated full row select), and then takes in the separate strings in each column on that specific row for some other purposes on the program.
Would appreciate a fast and easy way please, thanks
Posted

1 solution

Use the ListView.SelectedItems Property. MSDN gently provides sample code featuring all you need[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900