Spread for ASP.NET 12 Product Documentation
OpenExcel(String,ExcelWarningList) Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > OpenExcel Method : OpenExcel(String,ExcelWarningList) Method
Path and name of file to open
List of warning messages that occur during this operation
Opens an Excel file into the Spread component keeping track of warnings.
Syntax
'Declaration
 
Public Overloads Function OpenExcel( _
   ByVal fileName As String, _
   ByVal warningList As ExcelWarningList _
) As Boolean
'Usage
 
Dim instance As FpSpread
Dim fileName As String
Dim warningList As ExcelWarningList
Dim value As Boolean
 
value = instance.OpenExcel(fileName, warningList)
public bool OpenExcel( 
   string fileName,
   ExcelWarningList warningList
)

Parameters

fileName
Path and name of file to open
warningList
List of warning messages that occur during this operation
See Also

Reference

FpSpread Class
FpSpread Members
Overload List