Spread for ASP.NET 11 Product Documentation
Open(String) Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > Open Method : Open(String) Method
Name of file to open
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

Reference

FpSpread Class
FpSpread Members
Overload List

User-Task Documentation

Saving to a Spread XML File