![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Unknown
Join Date: Apr 2008
Location: unknown
Posts: 87
Rep Power: 1
![]() |
Problem adding an item to the subitem (listview)
Im having trouble adding a subitem in a listview with an item in it and a subitem and another subitem... what i mean is this... i have no problem adding an item to a list view with just one subitem, but if the listview have several subitems i have trouble adding the string to the third subitem(third coloumn actually)... here is the code in which i have no problem adding an item with just one subitem
c# Syntax (Toggle Plain Text)
right here i have no idea in adding the third sub item which is the gender(line 23).... please help... please bear with me, i have a difficult time in my english... thank you I am just beginning programming in visual c#.... thanks again
__________________
------------------------------------------------------------------------- I thought what I'd Do was, I'd pretend to be one of those deaf mutes ------------------------------------------------------------------------ |
|
|
|
|
|
#2 |
|
Not a user?
Join Date: Sep 2007
Posts: 272
Rep Power: 2
![]() |
Re: Problem adding an item to the subitem (listview)
The first item you add to a row is the item, the rest will be an array of subitem, if that helps you. So, subitem[0], subitem[1], etc.
|
|
|
|
|
|
#3 | |
|
Unknown
Join Date: Apr 2008
Location: unknown
Posts: 87
Rep Power: 1
![]() |
Re: Problem adding an item to the subitem (listview)
Quote:
![]()
__________________
------------------------------------------------------------------------- I thought what I'd Do was, I'd pretend to be one of those deaf mutes ------------------------------------------------------------------------ |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cration of a new control, problem with adding new controls | beni_dude | C# | 5 | Apr 15th, 2008 4:31 PM |
| Problem solving | ReggaetonKing | Software Design and Algorithms | 7 | Jan 4th, 2008 1:49 PM |
| Problem Associated with Vector Source code | buggytoast | Java | 3 | Apr 2nd, 2006 5:41 AM |
| Various ListView questions | Eleo | C# | 6 | Feb 16th, 2006 11:32 PM |
| ListView foreach subitem | tayspen | C# | 2 | Nov 25th, 2005 8:49 PM |