Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Row Class / Remove Method
Example


In This Topic
    Remove Method (Row)
    In This Topic
    Removes this row or range of rows.
    Syntax
    'Declaration
     
    Public Sub Remove() 
    'Usage
     
    Dim instance As Row
     
    instance.Remove()
    public void Remove()
    Example
    This example removes the row on the post back.
    FarPoint.Web.Spread.Row r;
    r = FpSpread1.ActiveSheetView.Rows[0];
    if(IsPostBack)
    {
         r.Remove();
    }
    
    Dim r As FarPoint.Web.Spread.Row
    r = FpSpread1.ActiveSheetView.Rows(0)
    If IsPostBack Then
         r.Remove()
    End If
    See Also