Hello, I am adding a new column to a dataset. If I don't add any values to this column, and write the dataset to xml, it skips this column. Does anyone know why Thanks
You can control that behavior with the second parameter to WriteXml (XmlWriteMode). It allows you to also persist the schema, so that when you read it, you will have all table/columns definitions.
Dataset Column Not Saving
Sean Sandys - MS
Keeping track of what fields go where isn't the data file's business, but that of the schema definition file.
fp101
I have case where there appears to be no data in a column and yet I get a node in the XML file that looks like this:
<data />
In other cases I get nothing. Why would there be nothing in some cases, and in others there is a node like the one above
Burbank Steve
--VV