P
Pocket Rocket
I am using 2 data grids to display master detail relatioships in a database.
I would like to findout how I can setup the datasource and datamember of the
grids to get this accomplished. The way I tried did not work:
grid1.datasource = this.dataset1;
grid1.datamembar = "parenttable";
grid2.datasource = this.dataset2;
grid2.datamember = "parenttable.parentchildrelation.childtable";
where paranttable and childtable are the names of parent and child tables
and parentchildrelation is the name of the one to many relationship between
the parent and child tables.
Thanks
PR
I would like to findout how I can setup the datasource and datamember of the
grids to get this accomplished. The way I tried did not work:
grid1.datasource = this.dataset1;
grid1.datamembar = "parenttable";
grid2.datasource = this.dataset2;
grid2.datamember = "parenttable.parentchildrelation.childtable";
where paranttable and childtable are the names of parent and child tables
and parentchildrelation is the name of the one to many relationship between
the parent and child tables.
Thanks
PR