Excel for WPF and Silverlight
Load(String,Boolean) Method

C1.WPF.Excel Namespace > XLSheet Class > Load Method : Load(String,Boolean) Method
Name of the file that contains the worksheet.
True to finish loading from the workbook; False to load data into the other worksheets.
Loads the Excel worksheet from a file.
Syntax
'Declaration
 
Public Overloads Sub Load( _
   ByVal fileName As System.String, _
   ByVal last As System.Boolean _
) 
public void Load( 
   System.string fileName,
   System.bool last
)

Parameters

fileName
Name of the file that contains the worksheet.
last
True to finish loading from the workbook; False to load data into the other worksheets.
Remarks
It was previously necessary to load the workbook from the stream without filling the worksheets.
See Also

Reference

XLSheet Class
XLSheet Members
Overload List