![Online Online](./../icons/online_icon.gif)
![Online Online](./../icons/online_icon.gif)
Add a datatable to the hierarchy of tables. Return a reference to the added table, so that you can add more child tables.
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax
Parameters
- TableName
- Type:
System String
Name of the table. Name is used for tagging the nodes (if specific tag column is not mentioned) and for refering the tables later.
- IdField
- Type:
System String
Name of the unigue identification column.
- ParentIdField
- Type:
System String
Column that contains values from IdField (If the rows have a parent-child relationship in between; blank otherwise).
- ForeignIdField
- Type:
System String
Column that contains values from parent table's unique ID column. In other words, where rows of this table is a child of (has a connection of) parent table.
- TextField
- Type:
System String
Text to be displayed. Use \n to separate the text into multiple lines. If there are multiple columns of data, separate them with colon(:).
- dt
- Type:
System.Data DataTable
The datatable object that contains the specified data.
Return Value
UnifoChart.Hierarchy.HierarchyTableSee Also