Home Forums WinForms controls Xceed Grid for WinForms Master detail using collections Reply To: Master detail using collections

User (Old forums)
Member
Post count: 23064

« This is possible. What you need is to have a “Feature” property (field)
within the Products collection which in fact contains the Features
collection. So each product will have its own Feature list. This is how
the relationship is established between two lists. Then you bind the
grids the following way :

Master.SetDataBinding( Products, “” );
Detail.SetDataBinding( null, “Features” ); »

 

Hi

  I understand the concept but I don’t know how to do that (the field which is a collection).  I use the dataset designer in Visual Studio 2008.  I have 2 linked tables (relation).  If possible, I would like to use the automaticly generated bindingsource and tableadapter.

 Regards

Imported from legacy forums. Posted by Daniel (had 455 views)