How to get parent element name using XmlReader in C#



I'm writing a program that reads an XML (Element only) and stores the value into database.


But there are such no methods in XmlReader Class to get the name/value of Parent Node of a child node. Is there any workaround or should i use any other parser.


No comments:

Post a Comment