Loads an Excel worksheet from a file.
Namespace:
C1.Silverlight.ExcelAssembly: C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)
Syntax
C# |
---|
public void Load( string fileName, bool fillSheets ) |
Visual Basic |
---|
Public Sub Load ( _ fileName As String, _ fillSheets As Boolean _ ) |
Parameters
- fileName
- Type: System..::..String
Name of the file that contains the worksheet.
- fillSheets
- Type: System..::..Boolean
True to load data into the sheets; False to read the sheet names only.