SetChildren

与えられた指定の親子関係の行を設定します。 この名前で行がすでに存在する場合は、呼び出し元に返されます。

構文

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

結果

指定された親/子関係の名前セットを返します。

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