I am having a html page.
I can able to read the html page and store in a string variable.
I need to convert this string to xml and export to excel or word.
Can any one give me an idea ,to achieve this in asp.net
Thanks.
First Read XML string into dataset
string xml = "<person><name>Mudassar</name></person>"; System.IO.StringReader sr = new StringReader(xml); DataSet ds = new DataSet(); ds.ReadXml(sr);
Then export dataset to Word or Excel
Export DataSet or DataTable to Word Excel PDF and CSV Formats
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.