Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / Open Method / Open(String) Method
Name of file to open
Example


In This Topic
    Open(String) Method
    In This Topic
    Opens a saved Spread XML file and loads it into the Spread component.
    Syntax
    'Declaration
     
    Public Overloads Function Open( _
       ByVal fileName As String _
    ) As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim fileName As String
    Dim value As Boolean
     
    value = instance.Open(fileName)
    public bool Open( 
       string fileName
    )

    Parameters

    fileName
    Name of file to open

    Return Value

    true if successful; false otherwise
    Remarks
    This method opens a source of Spread-compatible XML (Extensible Markup Language) from a file.
    Example
    string fileName;
    fileName = "D:\\mine.xml";
    FpSpread1.Open(fileName);
    
    Dim fileName As String
    fileName = "D:\mine.xml"
    FpSpread1.Open(fileName)
    See Also