Just confirming that you cannot manipulate DataSource objects dynamically. As far as I know they are treated as a list and never added into the XML tree at all (or if they are they would be enumerated differently, since a DataSource can contain many same-named Data items and thus the name could not be used to address them).
You also cannot use a Page as a DataSource.
What you can do, however, is to use several predefined DataSources and switch them out dynamically.
|