Adding a comment to a XML document: WriteXML

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Hi, how can I write a comment to a XML document when I am generating the XML
document via the DataSets WriteXML method?

Thanks in advance
Mark
 
Mark,

There is a difference between a XML file and an XML document.
A dataset can be serialized in an XML file, therefore is it not yet a
document.

The same as than an XML document is not direct a dataset.

I hope this helps,

Cor
 
Hi Cor, thanks for that. I am aware of this difference but I was just
wondering if it was possible to insert a comment into a DataSet via an add
row method in one of the underlying DataRows..

Cheers
Mark
 
Mark,
Hi Cor, thanks for that. I am aware of this difference but I was just
wondering if it was possible to insert a comment into a DataSet via an add
row method in one of the underlying DataRows..
Probably not as you intent, a datarow has the format of the Columns
description of a datatable.

Cor
 
Back
Top