Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SaveChanges Method
Example


In This Topic
    SaveChanges Method
    In This Topic
    Saves the changes to the Spread component.
    Syntax
    'Declaration
     
    
    Public Sub SaveChanges() 
    'Usage
     
    
    Dim instance As FpSpread
     
    instance.SaveChanges()
    public void SaveChanges()
    Example
    This example saves changes to the data model (and data source, if bound).
    private void btnSaveChanges_Click(object sender, EventArgs e)
    {
    //This method has the same effect as clicking the Update button in the FpSpread commandbar
    FpSpread1.SaveChanges();
    }
    Private Sub btnSaveChanged_Click(ByVal sender As System.Object,ByVal e As System.EventArgs)
    'This method has the same effect as clicking the Update button in the FpSpread commandbar
    FpSpread1.SaveChanges()
    End Sub
    See Also