You can set up your nested grid by using "chained binding" or by using "event handlers". The advantage of using "chained binding" (as shown in the "Populating a WinForm" tutorial) is that there is absolutely no code to write. The disadvantage is that you have no control over how the EntityList for the detail grid is populated. Therefore, you will need to use an Event Handler.
The Event Handler that you will need is for the CurrentChanged event on the BindingSource to which your primary grid is bound. When the CurrentChanged event fires on the BindingSource, just build a new EntityList. Build the EntityList using an OrderBy clause. Note that your query will be asking for all detail objects that have a parent id equal to the id of the currently selected parent.
Edited by davidklitzke - 28-Nov-2007 at 12:50pm