| Visual Basic (Declaration) | |
|---|---|
Public Sub Add()  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As Row instance.Add()  | |
| C# | |
|---|---|
public void Add()  | |
This example adds a row to the spreadsheet after every post back.
             
            
            | C# |  Copy Code | 
|---|---|
FarPoint.Web.Spread.Row r;
r = FpSpread1.ActiveSheetView.Rows[0];
if(IsPostBack)
{
     r.Add();
}
 | |
| Visual Basic |  Copy Code | 
|---|---|
Dim r As FarPoint.Web.Spread.Row r = FpSpread1.ActiveSheetView.Rows(0) If IsPostBack Then r.Add() End If  | |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family