Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / AddRows(Int32,Int32) Method
Row index at which to add new rows
Number of rows to add
Example


In This Topic
    AddRows(Int32,Int32) Method
    In This Topic
    Adds rows to the data model at the specified position.
    Syntax
    'Declaration
     
    
    Public Sub AddRows( _
       ByVal row As Integer, _
       ByVal count As Integer _
    ) 
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim count As Integer
     
    instance.AddRows(row, count)
    public void AddRows( 
       int row,
       int count
    )

    Parameters

    row
    Row index at which to add new rows
    count
    Number of rows to add
    Exceptions
    ExceptionDescription
    Specified index of row is out of range; must be between zero and the number of columns
    Specified number of rows is out of range; must be greater than zero
    Example
    This example adds two rows to the model.
    See Also