You addressed your email to Greg but it is a reply to my post. I am Mike.
The link contains the code that answers the posters requirement "to store
this remote dataset as an xml file locally"
The code in the article is:
Private Sub WriteXmlToFile(thisDataSet As DataSet)
If thisDataSet Is Nothing Then
Return
End If
' Create a file name to write to.
Dim filename As String = "myXmlDoc.xml"
' Create the FileStream to write with.
Dim myFileStream As New System.IO.FileStream _
(filename, System.IO.FileMode.Create)
' Create an XmlTextWriter with the fileStream.
Dim myXmlWriter As New System.Xml.XmlTextWriter _
(myFileStream, System.Text.Encoding.Unicode)
' Write to the file with the WriteXml method.
thisDataSet.WriteXml(myXmlWriter)
myXmlWriter.Close()
End Sub
Cor, I don't know who the regulars but my post provided the user a way to do
what was requested and so I posted it. I don't understand why you are making
a request for me to not post basic information when it appears that is what
a poster has requested. What I posted may not be what the poster requested
but that is always a potential outcome of any help given.
Is this newsgroup for advanced users only?
Are there some Microsoft rules about this newsgroup I need to know?
Thanks,
--
Mike
Mike McIntyre
Visual Basic MVP
www.getdotnetcode.com