| Author: ANIL PANDEY 29 Jul 2008 | Member Level: Diamond | Rating: Points: 6 |
Hi, First of all open the Xml File and read it content, if u get any elemnet than store its value in any Varriable after that u can use that name to create the table....
For example..
XmlTextReader xRead = new XmlTextReader((Application.StartupPath + "\\" + strNewFile)); try { //Reading the XML file while (xRead.Read()) { XmlNodeType nodeType = xRead.NodeType;
if (nodeType == XmlNodeType.Element) { if ((xRead.Name ==Name")) { string name = xRead.name } } } } }
Thanks Anil Pandey
Thanks & Regards Anil Kumar Pandey
|