Spread for ASP.NET 7.0 Product Documentation
SaveChanges Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : SaveChanges Method


Glossary Item Box

Saves the changes to the Spread component.

Syntax

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

Example

This example saves changes to the data model (and data source, if bound).
C#Copy Code
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();
}
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.