DATASET TO XML ( ---NULL COLUMNS--- ) PLEASE HELP ME!!!

  • Thread starter Thread starter KMILO
  • Start date Start date
K

KMILO

Hello Everyone


Somebody knows how I can convert a dataset into a xml file without losing
null columns in the xml file, Im using the GetXml Method of the dataset and
writting the xml to a file, but when some column is null from the source the
xml cuts the element and I need it, HOW CAN I DO THAT???

THANKS IN ADVANCE

KMILO
 
Hi Kmilo,

Accoording to the documentation is dataset.GetXML the same as
dataset.WriteXML.

My expirience is an other. Can you try if the ds.WriteXML gives the result
you want, I did a lot of work to remove those zero fields when using the
dataset.WriteXML,

:-)

Cor
 
Back
Top