DataSet.WriteXml

  • Thread starter Thread starter Arne Garvander
  • Start date Start date
A

Arne Garvander

I have a dataset with one datatable. I have blanks in the first row of some
of my columns.
I do dataSet.WriteXml(stream) . Columns with blanks gets completely removed
from my xml output file.
What am I doing wrong?
 
I assume that they are empty strings and that it are not strings filled with
one or more blanks

This behaviour is standard for the dataset.

(You can do as we;; simple datSet.WriteXml(path), which has the same effect)

Cor
 
Back
Top