Spread Windows Forms 11.0 Product Documentation
AddRows(Int32,Int32) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class : AddRows(Int32,Int32) Method
Row index at which to add new rows
Number of rows to add
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
See Also

Reference

DefaultSheetDataModel Class
DefaultSheetDataModel Members