admin
-
3/7/2006 5:39:48 PM
Re: Where parameter of tree.SelectNodes confusing...
Hi Rob,
yes, this is a default behavior. The WHERE parameter is applied to both queries which means you can use only the CMS_TREE table columns in case you're requesting several document types (class names).
Alternatively, you could first run the SelectNodes method for the parent documents only and store the results to ds1. Then, you would run the SelectNodes method for the child documents and store the result to ds2.
Then, you would copy the DataTable from ds2 to ds1 and create the relation.
The rest is the same.
Please let me know if you need any help with that.
Best Regards,
|