Well, no clue about speed, BUT memory wise:

The DataSet (above an XML document) is built on top o fan
XmlDataDocument DOM like presentation, so it uses more memory than the
DOM presentation.

Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)

 

> 
> -----Original Message-----
> From: Torsten Kramer [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 6. Juni 2003 15:16
> To: [EMAIL PROTECTED]
> 
> Hi,
> 
> I've one of these very pretty DataSet instances. But I don't 
> want to use SQLs select syntax to query my DataSet, I want to 
> use XPath. Therefore I attach my DataSet to an XmlDocument 
> and use SelectSingleNode or even the methods of 
> IXPathNavigator. But what does this cost with respect to 
> performance and memory consumption? What is faster - 
> DataTable.Select or XmlDocument.SelectNode/SelectSingleNode?
> 
> Who can enlighten me?
> 
> Torsten
> 
> 

Reply via email to