using (MemoryStream ms = new MemoryStream()) { // Get XML from DataTable DistinctDataTable.WriteXml(ms); ms.Position = 0; // load the Global XML with the distinct Data in the form of XML. XmlDocument.Load(ms); }
<DQM> <_x0031_5010/> <_x0031_5011>08/14/2013</_x0031_5011> <_x0031_5012>05/30/2000</_x0031_5012> <_x0031_5013>Lst1</_x0031_5013> <_x0031_5014>Ent151</_x0031_5014> <_x0031_5015>Test PA</_x0031_5015> <_x0031_5016>Eagle PACE</_x0031_5016> <_x0031_5021>2</_x0031_5021> </DQM>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)