

Loads data from a database table. See HierarchyData class description for the table format.
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public string LoadFromDatabase( DbConnection Connection, string TableName, string[] FieldsArray, string WhereCondition )
public String LoadFromDatabase( DbConnection Connection, String TableName, String[] FieldsArray, String WhereCondition )
Parameters
- Connection
- Type:
System.Data.Common DbConnection
The database connection object
- TableName
- Type:
System String
Name of the table
- FieldsArray
- Type:
System String
Array of column names in the order of IdField, ParentIdField, TextField, ValueField, ToolTipField, ImageFileField, UrlField, TagField
- WhereCondition
- Type:
System String
The CONDITION column name in the table
Return Value
Returns blank if succeeded, error message otherwise.See Also