Following the code:_
XPathNodeIterator players = DataSources["players"].CreateNavigator().Select(
"//player", NamespaceManager);
foreach (XPathNavigator player in players)
{
string number = player.SelectSingleNode("number", NamespaceManager).Value;
AddItem(number);
}
XPathNodeIterator players = DataSources["players"].CreateNavigator().Select(
"//player", NamespaceManager);
foreach (XPathNavigator player in players)
{
string number = player.SelectSingleNode("number", NamespaceManager).Value;
AddItem(number);
}
No comments:
Post a Comment