470,573 Members | 1,668 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,573 developers. It's quick & easy.

Dataset to XMLDocument and Vice versa

Hey,

I'm trying to pass an XML document from a webservice to another assembly.

What I'd like to do is pass either an XML document or a dataset, so I figure
that if I can turn the Dataset into an XMLDocument, then in my assembly,
return that XMLDocument back to the dataset (if it is one), I will be good
to go.

Problem is, I haven't been able to find out how to transform a dataset into
an XMLDocument. With that, I have also not been able to find resources on
how to transform an XMLDocument into a dataset.

Any ideas? TIA.
Nov 11 '05 #1
1 5673
Did you try DataSet.WriteXml() and DataSet.ReadXml() ?
--
Sergey
-------
This posting is provided "AS IS" with no warranties, and confers no rights.

"Matt M" <matt@remove_this_core49.com> wrote in message
news:eO***********************@news3.calgary.shaw. ca...
Hey,

I'm trying to pass an XML document from a webservice to another assembly.

What I'd like to do is pass either an XML document or a dataset, so I figure that if I can turn the Dataset into an XMLDocument, then in my assembly,
return that XMLDocument back to the dataset (if it is one), I will be good
to go.

Problem is, I haven't been able to find out how to transform a dataset into an XMLDocument. With that, I have also not been able to find resources on
how to transform an XMLDocument into a dataset.

Any ideas? TIA.

Nov 11 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Matt M | last post: by
5 posts views Thread by Rob Panosh | last post: by
3 posts views Thread by David P. Donahue | last post: by
1 post views Thread by paul_zaoldyeck | last post: by
7 posts views Thread by =?Utf-8?B?ZG91Zw==?= | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.