Onlinewww.Chart4.NET (Documentation) | OnlineSamples Download | Release Notes
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
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.Hierarchy Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public HierarchyTable Add( string TableName, string IdField, string ParentIdField, string ForeignIdField, string TextField, ref DataTable dt )
public HierarchyTable Add( string TableName, string IdField, string ParentIdField, string ForeignIdField, string TextField, ref DataTable dt )
Public Function Add ( _ TableName As String, _ IdField As String, _ ParentIdField As String, _ ForeignIdField As String, _ TextField As String, _ ByRef dt As DataTable _ ) As HierarchyTable
Public Function Add ( _ TableName As String, _ IdField As String, _ ParentIdField As String, _ ForeignIdField As String, _ TextField As String, _ ByRef dt As DataTable _ ) As HierarchyTable
public: HierarchyTable^ Add( String^ TableName, String^ IdField, String^ ParentIdField, String^ ForeignIdField, String^ TextField, DataTable^% dt )
public: HierarchyTable^ Add( String^ TableName, String^ IdField, String^ ParentIdField, String^ ForeignIdField, String^ TextField, DataTable^% dt )
member Add : TableName : string * IdField : string * ParentIdField : string * ForeignIdField : string * TextField : string * dt : DataTable byref -> HierarchyTable
member Add : TableName : string * IdField : string * ParentIdField : string * ForeignIdField : string * TextField : string * dt : DataTable byref -> HierarchyTable
Parameters
- TableName
- Type: OnlineSystemString
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: OnlineSystemString
Name of the unigue identification column.
- ParentIdField
- Type: OnlineSystemString
Column that contains values from IdField (If the rows have a parent-child relationship in between; blank otherwise).
- ForeignIdField
- Type: OnlineSystemString
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: OnlineSystemString
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: OnlineSystem.DataDataTable
The datatable object that contains the specified data.
Return Value
UnifoChart.Hierarchy.HierarchyTableSee Also