Ok, I'm trying to re-familiarize myself with the BO relationship aspect of the framework. I printed out all the tutorials from the newest version of the help file and re-worked my way through all of the related ones until i got to Tutorial_WinVB_14. Tutorial 14 shows me how to create the child BO and make the necessary settings to link the child BO to the parent.
At the end of tutorial 14 it says: "Designing a child form that will show the use of a business object relationship is beyond the scope of this tutorial."
So now my question is: Since I've worked my way through all the tutorials up through 14 and I want place a grid on the CustomerMaintenance form to show the related orders, how do I do this?
I thought you guys used to have a grid that was simply an inherited version of the Datagridview but I couldnt find it. I tried to drop a standard DataGridView onto the form using a BusinessBindingSource control but that didnt work.
Since there have been some changes to the framework since the last time i asked this question... could you please explain it again?
Thanks
1) Drop a DataGridView on your form
2) Drop a BusinessBindingSource on your form
3) Drop a child bo on your form (or any bo, but you mentioned children in your post).
4) Set the BusinessObject property on the BBS to the child business object
5) Set the DataSource property on the DataGridView to the BBS (it won't show up under the root node... you have to expand the "Other Data Sources" node, and then expand the "<FormName> List Instances" node to see the BBS that you dropped on the form.
6) The grid automatically generates the columns and then you are free to configure the grid as you see fit.