Hi All;
DataSet ds = GetExcelToXml("test.xls");
string filename = "C:\\test.xml";
FileStream myFileStream = new FileStream(filename, FileMode.Create);
XmlTextWriter myXmlWriter = new XmlTextWriter(myFileStream, Encoding.Default);
ds.WriteXml(myXmlWriter);
myXmlWriter.Close();
Output Xml
<NewDataSet>
<Table>
<UserName>bla1</User_Name>
<Mail>[email protected]</Mail>
<Address>World</Address>
</Table>
</NewDataSet>
I need Xml Node Name
<ROWS>
<ROW>
<UserName>bla1</User_Name>
<Mail>[email protected]</Mail>
<Address>World</Address>
</ROW>
</ROWS>
How To Make ?