sandrajean
New member
- Joined
- Mar 27, 2006
- Messages
- 2
I am trying to create an xml file from an untyped dataset but not all of the tags defined in my schema are ending up in my xml file. I need all tags in my xml file even if they are empty.
I am using the SqlDataAdapter to fill my DataSet and I am using ds.WriteXml to create my xml file. I am calling ReadXmlSchema on the DataSet before filling with data.
Any ideas on how I can get all tags to write to my xml file even when no data is returned from my query??
I am using the SqlDataAdapter to fill my DataSet and I am using ds.WriteXml to create my xml file. I am calling ReadXmlSchema on the DataSet before filling with data.
Any ideas on how I can get all tags to write to my xml file even when no data is returned from my query??