combit List & Label 25 - .NET Online Web Help
GetChildTable Method
Example 


combit.ListLabel25.DataProviders Namespace > ITableRow Interface : GetChildTable Method
The relation to the child table.
This method is called whenever a sub table is needed. This happens if the user chose to insert a relationally linked table to the current table e.g. the orders of a customer. In this case, the method will be called on the customer table with the relation linking to the orders table.
Syntax
'Declaration
 
Function GetChildTable( _
   ByVal relation As ITableRelation _
) As ITable
ITable GetChildTable( 
   ITableRelation relation
)
ITable^ GetChildTable( 
   ITableRelation^ relation
) 

Parameters

relation
The relation to the child table.
Example
public ITable GetChildTable(ITableRelation relation)
{
    DataView childView = _dataRowView.CreateChildView(relation.RelationName);
    return new DataViewWrapper(childView);
}
Public Function GetChildTable(relation As ITableRelation) As ITable
    Dim childView As DataView = _dataRowView.CreateChildView(relation.RelationName)
    Return New DataViewWrapper(childView)
End Function
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

ITableRow Interface
ITableRow Members