![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
CreateDataTableNode Method | |
See Also Send Feedback |
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.
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) | ![]() |
---|---|
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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family