DataSet.WriteXML Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Everyone,

I have a Dataset with 3 tables in it. I use DataSet.WriteXML(path,
WriteXmlSchema) to save the dataset and its schema as a file, which executes
correctly, but in addition to the main file 'WriteXml' create a .xsd file,
containing description of the namespace and 2 of the attributes.

I was worndering if there is a way to include the data in the .xsd file as
inline schema in the main file. I intent to programmatically move the file to
different location and I do not want to deal with multiple files.

Thank for your help,
Daniel
 
DataSetName.WriteXML(fileNameString, XmlWriteMode.WriteSchema)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Thanks, That did it.

Cowboy (Gregory A. Beamer) - MVP said:
DataSetName.WriteXML(fileNameString, XmlWriteMode.WriteSchema)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top