| Author: Lakhan Pal 22 Sep 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hi-
Check this link for code related to Read XML Data:
http://lakhangarg.blogspot.com/2009/08/code-to-create-own-currency-convertor.html
Please rate this answer if it helped you. Thanks & Regards Lakhan Pal Garg Free Code Snippets
|
| Author: Anil Kumar Pandey 22 Sep 2009 | Member Level: Diamond | Rating:  Points: 2 |
try this for reading XML
//Reading the XML file while (xRead.Read()) { XmlNodeType nodeType = xRead.NodeType;
if (nodeType == XmlNodeType.Element) { if ((xRead.Name == "graphic") || (xRead.Name == "inline-graphic")) { lintImageCount += 1; if (xRead.HasAttributes) { xRead.MoveToAttribute(0); strImagename = xRead.Value; blnOk = FileCheck(strImagename); if (blnOk == false) { break; } } } } } }
Thanks & Regards Anil Kumar Pandey
|