|
-
Dec 3rd, 2003, 05:38 AM
#1
Thread Starter
Frenzied Member
adding subitems to a listview [resolved]
I am rather stuck.. i try to add items and then fill the subitems..
VB Code:
fotolist.Items.Add(temprs.Fields("nr").Value)
fotolist.Items(fotolist.Items.Count - 1).SubItems(0).Text = temprs.Fields("datum").Value
but this doesnt seem to work at all.... i changed the first column.. but when i set it to 1 it says the index is out of range , though there are 3 colums.........
Last edited by Ultimasnake; Dec 3rd, 2003 at 09:26 AM.
-
Dec 3rd, 2003, 06:59 AM
#2
Frenzied Member
well i am stuck too with this problem
anyone please help us both
-
Dec 3rd, 2003, 07:37 AM
#3
assuming you are using Detail view ...
VB Code:
Dim lvi As New ListViewItem(" the listview item ")
Dim lvs As New ListViewItem.ListViewSubItem(lvi, " the sub item ")
lvi.SubItems.Add(lvs)
ListView1.Items.Add(lvi)
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Dec 3rd, 2003, 09:26 AM
#4
Thread Starter
Frenzied Member
yet again a solution :d.. thanks 
-
Dec 7th, 2003, 04:10 AM
#5
Frenzied Member
well another thanks from me here,
But really it is now more complecated more than ever before.
anyway , for sure it is not your fault
thnkx again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|