Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / IDataSourceSupport Interface / AutoGenerateColumns Property
Example


In This Topic
    AutoGenerateColumns Property (IDataSourceSupport)
    In This Topic
    Gets or sets whether to generate the columns automatically based on the data source.
    Syntax
    'Declaration
     
    
    Property AutoGenerateColumns As Boolean
    'Usage
     
    
    Dim instance As IDataSourceSupport
    Dim value As Boolean
     
    instance.AutoGenerateColumns = value
     
    value = instance.AutoGenerateColumns
    bool AutoGenerateColumns {get; set;}

    Property Value

    true to automatically generate the columns; false otherwise
    Example
    This example binds the model to a data set.
    See Also