Spread Windows Forms 12.0 Product Documentation
Add Method (Row)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Row Class : Add Method
Adds a new row or range of rows before this row or range of rows.
Syntax
'Declaration
 
Public Sub Add() 
'Usage
 
Dim instance As Row
 
instance.Add()
public void Add()
Example
This example adds a row to the sheet.
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0];
listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount.ToString());
r.Add();
listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount.ToString());
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0)
ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount.ToString())
r.Add()
ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount.ToString())
See Also

Reference

Row Class
Row Members