I have the following DataSet structure (constructed as number of DataTables and corresponding DataRelations)
+ Table 1
+ 1 Child of Table 1
+ 2 Child of Table 1
+ Table 2
+ 1 Child of Table 2
+ 2 Child of Table 2
SetDataBinding() allows you to specify a name of a specific DataTable within the DataSet that you're binding, so binding either Table1 or Table2 works fine. However, what if I want to bind both Table1 and Table 2 at the same time? Do I have to create additional nodes and bind each to a specific DataTable out of the dataset? SetDataBinding() does not seem to take an array of top level tables to bind to.
I expect the resulting root level structure to look like this:
Thanks!
Any ideas? SetDataBinding(Dataset, null) results in all levels of tables being displayed as root tree elements....
Hi,
This is basically the same question we discussed in your other thread. You cannot have nodes from two different data source in the same Nodes collection.