' Convert a DataSet into an Xml ' This functions make it so the schema is included ' expO1 DataSet Public Function DataSetToXml(ByVal toDataSet As DataSet) As String Dim loStringWriter As StringWriter = New StringWriter() toDataSet.WriteXml(loStringWriter, XmlWriteMode.WriteSchema) Return loStringWriter.ToString End FunctionCan you confirm me if this is pretty much the simpler way to achieve this?