G
Guest
Hi,
I have to pass XML data to a procedure.
I'm having xml data in XMLDataDocument datatype.
Now i want to use this XMLDataDocument as an input to the dataset inside the
procedure.
But dataset.ReadXML accpets only Textreader/Stream/XMLReader.
Can anyone pls tell me how to convert the XMLDataDocument into
Textreader/Stream/XMLReader??
my code looks similar to something like this:
Private Sub Procedure1(ByVal xmldoc As XmlDataDocument)
//here i will call ReadXML method
ds.ReadXML(xmldoc).
I have to pass XML data to a procedure.
I'm having xml data in XMLDataDocument datatype.
Now i want to use this XMLDataDocument as an input to the dataset inside the
procedure.
But dataset.ReadXML accpets only Textreader/Stream/XMLReader.
Can anyone pls tell me how to convert the XMLDataDocument into
Textreader/Stream/XMLReader??
my code looks similar to something like this:
Private Sub Procedure1(ByVal xmldoc As XmlDataDocument)
//here i will call ReadXML method
ds.ReadXML(xmldoc).