Last post Dec 22, 2010 09:53 AM by Steelymar
Dec 22, 2010 05:14 AM|ankitbhadana85|LINK
I want the values of an xml, present with me in the form ofxmlnodelist object to be bind to the arraylist.
Following are the steps which i already have performed:
1. Created an XmlDocument.
2. Used LoadXml() on the instance to load XML.
3. SelectNodes() with an XPath expression (try Relations/Person) to get
back an XmlNodeList.
4. Now how can i bind the xml available to me to my arraylist object.
Thanks in advance.
Dec 22, 2010 09:53 AM|Steelymar|LINK
XmlNodeList xl= x.SelectNodes(".../../..");
List<string> li = new List<string>();
foreach (XmlNode item in xl)