Mickeys
asked on
ListView
I have added a ListView to my form.
I have a class Called Contact with name, lastname and phone nr.
How do I add all this to my listview?
All my contacts is in a List<Contact>
And....finally is it possible to add a dropdownlist in a listview? For example if my phone nr will be added in alist so you can have more than one phone nr?
I have a class Called Contact with name, lastname and phone nr.
How do I add all this to my listview?
All my contacts is in a List<Contact>
And....finally is it possible to add a dropdownlist in a listview? For example if my phone nr will be added in alist so you can have more than one phone nr?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oh should add to that, be sure have created the columns in your list view.
ASKER
Right now they appear after each other like this
Mike Andersson Peter Carlsson .......
I want them to be each on one row like:
Mike Andersson
Peter Carlsson
......
and also....how do I add column name?
Mike Andersson Peter Carlsson .......
I want them to be each on one row like:
Mike Andersson
Peter Carlsson
......
and also....how do I add column name?