How can I find value by tag name in xml file? using C#.net 2.0
There are just 10 distinct nodes in my xmldocument.
I dont want to write xpath. I think there is an auto find property.
I have solved my problem with this scneirao:
XmlNodeList nl = xdoc.GetElementsByTagName("CustomerID"); sb.Append(nl[0].InnerXml);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With