Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetDataView Method / GetDataView() Method
Example


In This Topic
    GetDataView() Method
    In This Topic
    Gets the DataView object associated with this model.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetDataView() As DataView
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim value As DataView
     
    value = instance.GetDataView()
    public DataView GetDataView()

    Return Value

    DataView object containing the view of 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