HierarchyData LoadFromDatabase Method (String, DBMSType, String, String, String, String)Chart4.NET - Organization Charting Component (C#/VB.NET/ASP.NET) - Documentation
Onlinewww.Chart4.NET (Documentation) | OnlineSamples Download | Release Notes

Loads data from a database table. See HierarchyData class description for the table format.

Namespace: UnifoChart.Hierarchy
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 3.2.0.0 (3.2)
Syntax

public string LoadFromDatabase(
	string ConnectionString,
	DBMSType DBMSType,
	string TableName,
	string IdField,
	string ParentIdField,
	string TextField
)
public String LoadFromDatabase(
	String ConnectionString,
	DBMSType DBMSType,
	String TableName,
	String IdField,
	String ParentIdField,
	String TextField
)

Return Value

Returns blank if succeeded, error message otherwise.
See Also