Sarosh,
>Read the article on the BindingContext but it seems that all this works only in a Form so my question is if we are processing BO's (parent-child) and I want to go through all child rows for a given Parent BO how do we do this outside the context of a form?
In Windows Forms the BindingContext manager keeps track of the current DataRow--DataTables don't have the concept of a current DataRow--so that's why the logic lives in the form.
If you want to iterate through all child rows in a child business object you can access the child business object's DataSet property and find the DataTable you want. Honestly, though I question the need to do this. A child business object should go through its own data.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com