Joel
4Penny.net
Points: 10550

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.  

4Penny.net
Version: Unknown or N/A
Section: .NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3