ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / ViewNode Class / ViewNode Constructor / ViewNode Constructor(DataTable)
Specify a DataTable that is represented by this ViewNode.

In This Topic
    ViewNode Constructor(DataTable)
    In This Topic
    Creates a new instance of the ViewNode class that represents a specified DataTable.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal dataTable As System.Data.DataTable _
    )
    public ViewNode( 
       System.Data.DataTable dataTable
    )

    Parameters

    dataTable
    Specify a DataTable that is represented by this ViewNode.
    Remarks
    Constructor should be only used to create ViewNode that will be assigned to the C1ViewModel.RootNode property. Any other ViewNode of the C1ViewModel is created as a ChildNode object of ViewJoin automatically when ViewJoin is being created.
    See Also