Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Reading Treeview.Node.Tag
Message
De
11/08/2008 17:30:45
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01336112
Message ID:
01338194
Vues:
14
>Yes, that was it. Thanks Bonnie.

Hey Kevin, I didn't do anything ... no thanks necessary. You found it yourself! =0)

~~Bonnie




>
>
>
>>>>I found the problem.
>>>
>>>Which was ?

>>
>>My guess is the problem was that instead of this:
>>
>>
>>foreach (csItem oItem in csAppStartup.oItems.colItems)
>>{
>>    oNode.Nodes.Add(oItem.sCaption);
>>    oNode.Tag = "1." + oItem.sItemCode;
>>}
>>
>>
>>He should have had this:
>>
>>
>>foreach (csItem oItem in csAppStartup.oItems.colItems)
>>{
>>    oNode = oNode.Nodes.Add(oItem.sCaption);
>>    oNode.Tag = "1." + oItem.sItemCode;
>>}
>>
>>
>>Am I right Kevin or was it something else?
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform