Friday, May 28, 2010

C#.NET : Return XML Document using a DataSet?

here is the code snippet to return XML document from Dataset :


XmlDocument xd = new XmlDocument();

xd.LoadXml(ds.GetXml()); // ds is the data set

return xd;

No comments:

Post a Comment