Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / AddRowToDataSource Method
Row index at which to add a row
Whether to automatically fill the row with data
Example


In This Topic
    AddRowToDataSource Method (DefaultSheetDataModel)
    In This Topic
    Adds the unbound row to the data source.
    Syntax
    'Declaration
     
    
    Public Sub AddRowToDataSource( _
       ByVal row As Integer, _
       ByVal autoFillData As Boolean _
    ) 
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim autoFillData As Boolean
     
    instance.AddRowToDataSource(row, autoFillData)
    public void AddRowToDataSource( 
       int row,
       bool autoFillData
    )

    Parameters

    row
    Row index at which to add a row
    autoFillData
    Whether to automatically fill the row with data
    Example
    This example adds an unbound row to the sheet, then adds that row to the data source.
    See Also