Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadDataSource Class / GetView Method
String with the name of the view
Example


In This Topic
    GetView Method
    In This Topic
    Gets the named data source view associated with the data source control.
    Syntax
    'Declaration
     
    Public Function GetView( _
       ByVal viewName As String _
    ) As DataSourceView
    'Usage
     
    Dim instance As SpreadDataSource
    Dim viewName As String
    Dim value As DataSourceView
     
    value = instance.GetView(viewName)
    public DataSourceView GetView( 
       string viewName
    )

    Parameters

    viewName
    String with the name of the view

    Return Value

    SpreadDataSourceView object
    Example

    This example binds a cell range and uses many methods of the SpreadDataSource and SpreadDataSourceView classes.

    See Also