Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / DataSource Property
Example


In This Topic
    DataSource Property (FpSpread)
    In This Topic
    Gets or sets the name of the data source that populates the active sheet for the Spread component.
    Syntax
    'Declaration
     
    Public Property DataSource As Object
    'Usage
     
    Dim instance As FpSpread
    Dim value As Object
     
    instance.DataSource = value
     
    value = instance.DataSource
    public object DataSource {get; set;}

    Property Value

    Object containing the name of the data source
    Example
    This example binds the spreadsheet to an Access database using the DataSource property.
    See Also