'Usage Dim instance As DefaultSheetDataModel Dim row As Integer Dim count As Integer instance.AddRows(row, count)
Parameters
- row
- Row index at which to add new rows
- count
- Number of rows to add
'Usage Dim instance As DefaultSheetDataModel Dim row As Integer Dim count As Integer instance.AddRows(row, count)
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Specified index of row is out of range; must be between zero and the number of columns |
System.ArgumentOutOfRangeException | Specified number of rows is out of range; must be greater than zero |
FarPoint.Web.Spread.Model.DefaultSheetDataModel new FarPoint.Web.Spread.Model.DefaultSheetDataModel();
dataModel = (FarPoint.Web.Spread.Model.DefaultSheetDataModel)FpSpread1.ActiveSheetView.DataModel;
dataModel.AddRows(1, 2);
Dim dataModel As New FarPoint.Web.Spread.Model.DefaultSheetDataModel dataModel = FpSpread1.ActiveSheetView.DataModel dataModel.AddRows(1, 2)