Home Forums WinForms controls Xceed Grid for WinForms Master/Detail grid – How to display related detail entry? Reply To: Master/Detail grid – How to display related detail entry?

User (Old forums)
Member
Post count: 23064

Hi

u need to create Relationship between two table like following

dtLevel1.ChildRelations.Add(new DataRelation(“RelationName”, dtLevel1.Columns[“CM_ID”], dtLevel2.Columns[“CM_ID”]));

Then Assign dtLevel DataTable To Grid’s ItemsSource

 

Imported from legacy forums. Posted by Dharmesh (had 226 views)