StandardFields.ID StandardFields.ParentID StandardFields.HTMLValue StandardFields.Icon StandardFields.Level StandardFields.Expanded StandardFields.NodePosition
oTreeDB.Fields[TreeDB.StandardFields.ID].Value = id; oTreeDB.Fields[TreeDB.StandardFields.HTMLValue].Value = text;
Add(string FieldName, string FieldType) Add(string FieldName, string Type, string Data)
// add additional field oTreeDB.Fields.Add("Name", "text"); oTreeDB.Fields.Add("Age", "numeric", "26"); // change value of additional field oTreeDB.Fields["Name"].Value = "Peter"; oTreeDB.Fields["Age"].Value = "21";
// default fields oTreeDB.Fields[TreeDB.StandardFields.Icon].Value = "folder.gif"; oTreeDB.Fields[TreeDB.StandardFields.Expanded].Value = "0"; // additional fields oTreeDB.Fields["Address"].Value = address;
// SetProperties method oTreeDB.Fields["Age"].SetProperties("col_Age", "numeric");
// Add method oTreeDB.Fields.Add("Address", "text"); oTreeDB.Fields.Add("Age", "numeric", "26");