Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / Save Method / Save(String,Boolean) Method
Path and file name of file to save
Whether to save only data
Example


In This Topic
    Save(String,Boolean) Method
    In This Topic
    Saves the contents of the Spread component to XML in the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Function Save( _
       ByVal fileName As String, _
       ByVal dataOnly As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim fileName As String
    Dim dataOnly As Boolean
    Dim value As Boolean
     
    value = instance.Save(fileName, dataOnly)
    public bool Save( 
       string fileName,
       bool dataOnly
    )

    Parameters

    fileName
    Path and file name of file to save
    dataOnly
    Whether to save only data

    Return Value

    true if successful; false otherwise
    Example
    This examples saves the data only from the component to the specified Spread XML file.
    See Also