Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetDataTable Method
Example


In This Topic
    GetDataTable Method
    In This Topic
    Gets the data table associated with this model.
    Syntax
    'Declaration
     
    
    Public Function GetDataTable() As DataTable
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim value As DataTable
     
    value = instance.GetDataTable()
    public DataTable GetDataTable()

    Return Value

    DataTable containing the data table
    Example
    This example attaches a DataTable to a DefaultSheetDataModel, which is then assigned to the DataModel of the spreadsheet. The DataRow, DataTable and DataView are returned to a list box.
    See Also