Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Reading Treeview.Node.Tag
Message
De
10/08/2008 20:02:02
 
 
À
04/08/2008 02:54:54
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01336112
Message ID:
01337964
Vues:
12
>>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform