Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.CalcEngine Namespace / BuiltInRichValue Class / FromDataTable Method


In This Topic
    FromDataTable Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function FromDataTable( _
       ByVal table As DataTable, _
       Optional ByVal defaultColumnName As String, _
       Optional ByVal showHeaders As Boolean _
    ) As IRichValue
    'Usage
     
    
    Dim table As DataTable
    Dim defaultColumnName As String
    Dim showHeaders As Boolean
    Dim value As IRichValue
     
    value = BuiltInRichValue.FromDataTable(table, defaultColumnName, showHeaders)
    public static IRichValue FromDataTable( 
       DataTable table,
       string defaultColumnName,
       bool showHeaders
    )

    Parameters

    table
    defaultColumnName
    showHeaders
    See Also