GetChildren
Retrieves the child rows from a named relationship.
Syntax
public EnhancedDataTable GetChildren(DataRow parentRow, string name)
Parameters
- ParentRow - the parent row
- Name - the name of the parent/child relationship, e.g. "Flood Plain Data", "References", "Used By", etc.
Results
Returns the child rows from the named relationship.
Example
EnhancedDataTable childRows = dataTable.GetChildren(parentRow, "child1");