Spread ASP.NET 6.0 Product Documentation
Add Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Row Class : Add Method


Glossary Item Box

Adds a new row or range of rows before this row or range of rows.

Syntax

Visual Basic (Declaration) 
Public Sub Add() 
Visual Basic (Usage)Copy Code
Dim instance As Row
 
instance.Add()
C# 
public void Add()

Example

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 BasicCopy Code
Dim r As FarPoint.Web.Spread.Row
r = FpSpread1.ActiveSheetView.Rows(0)
If IsPostBack Then
     r.Add()
End If

Requirements

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

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.