I have one xml string, i am trying to read that using c#, but i am not getting child nodes, i am getting entire xml as inner xml string, i cant able to read the nodes, here is my xml string and my code any body help me please?
<Filters FilterName="706337_test"> <MemberName>Dorvil</MemberName><MemberId /><ProviderName /><ProviderId>706337</ProviderId><SelectedProjects>5030003</SelectedProjects><CNAChartSelected>false</CNAChartSelected><OldProject>false</OldProject></Filters> c# code trying to read the xml nodes
XmlDocument xml = new XmlDocument(); xml.LoadXml(xmlstring); XmlNodeList xnList = xml.SelectNodes("/Filters"); i can see only one child node that too filters, i need to read memberid,name etc.,, how to read please
thanks in advance.
No comments:
Post a Comment