Spread for ASP.NET 11 Product Documentation
Add Method (Row)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.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 spreadsheet after every post back.
FarPoint.Web.Spread.Row r;
r = FpSpread1.ActiveSheetView.Rows[0];
if(IsPostBack)
{
     r.Add();
}
Dim r As FarPoint.Web.Spread.Row
r = FpSpread1.ActiveSheetView.Rows(0)
If IsPostBack Then
     r.Add()
End If
See Also

Reference

Row Class
Row Members