Hi!
Have a form with
Two BO's (projectBO, subProjectBO)
Two BusinessBindingSource's (projectBBS, subProjectBBS)
Two grids (projectDGV, subProjectDGV)
Have setup the ParentChild relationship as mentioned in the help but when I change rows in the parent grid (projectDGV) nothing seems to happen in the child grid (subProjectDGV) The Child grid always shows all rows. Have set the ChildAutoFilterOption to MatchCurrentRow on the Child BO
I call the FillAll() for both BO's in the Form's Constructor (after the InitializeComponent())
this.projectBO.FillAll();this.subProjectBO.FillAll();Have three questions:
1] What am I doing wrong?
2] Are all rows from the child table being retrieved and then filtered based on the Parent's key or only rows matching the Parent's Key being retrieved from the server?
3] How can I use SP's to retrieve data for the Parent and Child?
Thanks
Sarosh