DataSet.WriteXml

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?
 
C

Cor Ligthert[MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top