DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
Joel 12/12/2011 5:14:39 PM

System.XML - How to Serialize a DataTable to XML Document

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

Recently I was asked to write a web service that would expose Dynamics GP tables. I've got code to grab the data and populate a DataTable, but I was missing the 'serialize' piece

This short code example will show how to take a DataTable and serialize it into a String.  

Version: Unknown or N/A
Section: .NET Development