I have the option of storing data in memory either as an XML document or multi-table ADO dataset. The web page utilizing this object will be selectively retrieving data items based on keys.
Does either of these objects have a clear performance advantage over the other?
A DataSet is already an XML Document, sort of. One of the additional perks you get with the dataset is relationship between tables, so you can actually query the DataSet as an in-memory database.
XML is really good, especially in certain situations, but searching lots of data.
If it’s items based on keys with no relation to other tables then go with the XML, but be careful with large subsets of data.