XML : DataTable WriteXML is not adding XML tag

  mydt.WriteXML(@filename); // writes <?xml version="1.0" standalone="yes"?>  mydt.WriteXML(memoryStreamObject); // does **NOT** write <?xml version="1.0" standalone="yes"?>    

When writing to the memory stream object, what do need to do to include the tag ? Thanks.

No comments:

Post a Comment