Hi All,
Is there anyway to bind the same Datasource(dataset) to 2 different UltraWinGrid on the same form.
DataSet has 4 tables, relation1 is between Table1 and Table2 and relation2 is between Table3 and table4.
I want to Bind the relation1 to UltraGrid1 and relation2 to UltraGrid2.
I already created the deign time bands for both the grid.
Any Suggestions/pointer please
With Thanks & Regards
Amjath
Thanks a lot guys it worked.
-amjath
Sorry, The DataMember needs to include more than just the relationship name. You have to prepend the parent table name:
So it would be "Table1.Relation1"
Hi Mike,
Im getting the following error, please suggest
child list for field relation2 cannot be created.
In this case, the DataSource of both grids should by the DataSet and the DataMember of the child grid should be the name of the relationship.
This will work, so long as both grids are contained within the same control.
Hi Hristo,
Thanks a lot.
Is it possible to assign the DataMember as Relationship name ?
because in one of my case, i have 3 tables in a dataset and need to assign it to 2 different ultrawingrid like as follows.
relation1 : table1 & table2
relation2 : table1 & table3
ultragrid1.datasource = relation1 &
ultragrid2.datasource = relation2
please let me know whether this is possible or not ??