Click to See Complete Forum and Search --> : Copy a DATASET to XMLDOCUMENT
daftpunknl
Sep 10th, 2002, 08:17 AM
How can I copy my dataset data type to an XMLDOCUMENT data type?
robdotnet00
Sep 10th, 2002, 03:18 PM
do u need something like this.
Dim xmlFile As String = "file.xsd"
Dim myStreamWriter As New System.IO.StreamWriter(xmlFile)
ds.WriteXmlSchema(myStreamWriter)
myStreamWriter.Close()
daftpunknl
Sep 10th, 2002, 03:55 PM
no that creates a file... i need the xml to be in an xmldocument....
maybe if i did a query to the sql server and got the dataset back in xmldocument data type... dont know how to that...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.