This page contains two table editors. The first displays the Master table (Orders) using the MasterDetailOrders.xml config file. Note that the details button is generated by the presence of a <selectButton> element.
The bottom table editor displays the Order Details corresponding to the selected order. It uses the MasterDetailOrderDetails.xml file. Note that this configuration file contains an ~OrderID~ parameter (corresponding the DetailParameterName in the MasterDetailBinding) that limits the order details to the selected record in the orders table.
Finally, the master/detail relation between two table editors is specified using the MasterTableEditorBinding property of the Order Detail table editor. It specifies the name of the parameter in the details configuration file and name of the primary key column the master table. See the ASPX-page source code on how this property is set up. Note that you can also use the Visual Studio.NET property browser to setup the MasterTableEditorBinding. No programming required!