ESRI.ArcGIS.ADF.Web.UI.WebControls
CreateDataTableNode Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TaskResults Class : CreateDataTableNode Method




dt
DataTable to add to the new node.
showFieldAttributes
If true (the default), displays attributes from the data tables under nodes for each feature. If false, displays only the nodes for features.
showLegend
Whether to show the results in the Map's Toc (table of contents) control. Only used if the DataTable is a GraphicsLayer.
addDataRows
Whether to add the data rows of the table.
nodeID
ID of the node.
nodeText
Text to display on the node.
Creates a new node that contains the DataTable and has other properties passed in.

Syntax

Visual Basic (Declaration) 
Public Function CreateDataTableNode( _
   ByVal dt As DataTable, _
   ByVal showFieldAttributes As Boolean, _
   ByVal showLegend As Boolean, _
   ByVal addDataRows As Boolean, _
   ByVal nodeID As String, _
   ByVal nodeText As String _
) As TreeViewPlusNode
Visual Basic (Usage)Copy Code
Dim instance As TaskResults
Dim dt As DataTable
Dim showFieldAttributes As Boolean
Dim showLegend As Boolean
Dim addDataRows As Boolean
Dim nodeID As String
Dim nodeText As String
Dim value As TreeViewPlusNode
 
value = instance.CreateDataTableNode(dt, showFieldAttributes, showLegend, addDataRows, nodeID, nodeText)
C# 
public TreeViewPlusNode CreateDataTableNode( 
   DataTable dt,
   bool showFieldAttributes,
   bool showLegend,
   bool addDataRows,
   string nodeID,
   string nodeText
)

Parameters

dt
DataTable to add to the new node.
showFieldAttributes
If true (the default), displays attributes from the data tables under nodes for each feature. If false, displays only the nodes for features.
showLegend
Whether to show the results in the Map's Toc (table of contents) control. Only used if the DataTable is a GraphicsLayer.
addDataRows
Whether to add the data rows of the table.
nodeID
ID of the node.
nodeText
Text to display on the node.

See Also

© 2010 All Rights Reserved.