[AccessD] How bout them apples

Jim DeMarco Jdemarco at hshhp.org
Mon Mar 17 08:19:00 CST 2003


Not to belittle the powers of .NET but you can persist an ADO recordset to XML just as easily (although the XML you've displayed is quite a bit cleaner as ADO saves the table schema along with the data).

<snip>
    rsSource.Save "c:\myxml.xml", adPersistXML
</snip>

Thanks,

Jim DeMarco
Director of Product Development
HealthSource/Hudson Health Plan


-----Original Message-----
From: John W. Colby [mailto:jcolby at colbyconsulting.com]
Sent: Sunday, March 16, 2003 11:06 PM
To: AccessD
Subject: [AccessD] How bout them apples


A single line of code to write an xml code from a dataset?

DataSet11.WriteXml("c:\TestXml.xml")



More information about the AccessD mailing list