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
 

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

Back
Top