ESRI.ArcGIS.ADF.Web.UI.WebControls
CreateNewDataSourceNode Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceDiscovery Class : CreateNewDataSourceNode Method




dsi
The data source info object to obtain information from.
nodeText
Text to add to the start of the node.
Creates a node for a TreeView with the information from the data source info object.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateNewDataSourceNode( _
   ByVal dsi As DataSourceInfo, _
   ByVal nodeText As String _
) As TreeViewPlusNode
Visual Basic (Usage)Copy Code
Dim dsi As DataSourceInfo
Dim nodeText As String
Dim value As TreeViewPlusNode
 
value = DataSourceDiscovery.CreateNewDataSourceNode(dsi, nodeText)
C# 
public static TreeViewPlusNode CreateNewDataSourceNode( 
   DataSourceInfo dsi,
   string nodeText
)

Parameters

dsi
The data source info object to obtain information from.
nodeText
Text to add to the start of the node.

Return Value

Node with the data source info.

See Also

© 2010 All Rights Reserved.