Spread WPF 16
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetDataSource Method
the data source that populates the sheet
bool value that indicates whether to reset settings on the sheet
Example


In This Topic
    SetDataSource Method
    In This Topic
    a
    Syntax
    'Declaration
     
    Public Sub SetDataSource( _
       ByVal dataSource As Object, _
       ByVal reset As Boolean _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim dataSource As Object
    Dim reset As Boolean
     
    instance.SetDataSource(dataSource, reset)
    public void SetDataSource( 
       object dataSource,
       bool reset
    )

    Parameters

    dataSource
    the data source that populates the sheet
    reset
    bool value that indicates whether to reset settings on the sheet
    Example
    This example uses the SetDataSource method.
    See Also