In the case of binding to a DataView, you are binding to a Table, not a
DataSet. Therefore, there is no relationship in the DataObject being bound
to your Master Table. No relationship = no Master-Detail form. In this case,
you'll want to bind to a DataViewManager, which is basically a DataView for
a DataSet. Here's the proper way to bind:
dataGrid1.SetDataBinding( dataSet1.DefaultViewManager, "Table1" );
dataGrid2.SetDataBinding( dataSet1.DefaultViewManager, "Table1.Relation1" );
I would read
http://www.oreilly.com/catalog/adone...apter/ch12.pdf for
further information about Binding and DataViewManagers. Also, consult MSDN
to find out how to use the DataViewManager to access the DataView for the
Master Table.
~Greg Persson
MCP