Last post Jan 06, 2011 01:05 AM by cool_cupid_jny
Jan 05, 2011 05:59 AM|Parthiv_777|LINK
Hi guys I m trying to have C# code which will be triggered when user press export button in form , so please let me know is there any way to export whole database into Xml file by C# code ??
i tried to use xmldocument but it is to much labor in it ....so is there any direct feature or class available which can be used for it??
sql 2008 to xml export data
Jan 05, 2011 06:56 AM|syedemad|LINK
One ways is to rely on the DataSet's WriteXml built-in function that has an overload to write the XmlSchema as well.
Other in my mind is to use LINQ to XML
Jan 06, 2011 01:05 AM|cool_cupid_jny|LINK
Hi , refe this link
if u can save it in a dataset then refer this link
This should help u:
hope it works