المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Noob question: Displaying a List in a ListView



C# Programming
05-02-2009, 09:01 AM
Hi,

Lets say I have a List of persons List, and each Person has properties Name, Age.
Also because of being in the List, each Person is associated with the list index (personList.IndexOf)

How can I show the person list in a ListView with checkboxes? (the listview has 3 columns: Selected, Name, Age)

How can I retrieve the selected ones then? (using the list index)

Thanks, please someone help me, I'm learning http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif