ok, i'm using this, but the code is only loading one node to my combobox, can someone help me with this? XmlDocument doc = new XmlDocument(); doc.Load("ComboItemName.xml"); XmlNodeList Nodes = doc.GetElementsByTagName("NAME"); foreach (XmlNode node in Nodes) { NewNameLoad = node.InnerText.ToString(); } XmlNodeList NodesA = doc.GetElementsByTagName("URL"); foreach (XmlNode node in NodesA) { NewUrlLoad = node.InnerText.ToString(); } comboChannels.Items.Add(new RSSChannel(NewNameLoad, NewUrlLoad)); // And select the first one comboChannels.SelectedIndex = 0; -- modified at 13:49 Wednesday 11th July, 2007
The Devil Lives in all of us, It's up to you to let HIM/HER out!!!!!