SetChildren

Définit les rangées d'une relation parent/enfant nommée et fournie. Si des rangées existaient précédemment sous ce nom, elles seront renvoyées à l'appelant.

Syntaxe

public void SetChildren(DataRow parentRow, string name, EnhancedDataTable newTable) 

Résultats

Renvoie l'ensemble des noms des relations parent/enfant nommées.

Exemple

EnhancedDataTable	childRows = dataTable1.GetChildren(parentRow, "child1");
dataTable2.SetChildren(otherParentRow, "child1", childRows);