Convert DataReader to XML

HI

I want to convert a DataReader to an XML doc, the same way that in VB I would use ADO to convert a recordset to an XML doc, and the Schema and data node would be there, will all the relevant schmea information

Thanks

ali
LVL 2
nfs007Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
bruintjeConnect With a Mentor Commented:
maybe you could look at the dataset which has a writexml() method

you can find a sample of filling a dataset here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatasetclasstopic.asp

and one of writing with the method above here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatasetclasswritexmltopic1.asp

just an idea
0
 
nfs007Author Commented:
This is great, thanks!

ali
0
All Courses

From novice to tech pro — start learning today.