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, FileFormat format, bool fillSheets ) |
Visual Basic |
---|
Public Sub Load ( _ fileName As String, _ format As FileFormat, _ fillSheets As Boolean _ ) |
Parameters
- fileName
- Type: System..::..String
Name of the file that contains the worksheet.
- format
- Type: C1.Silverlight.Excel..::..FileFormat
FileFormat value that specifies the file format.
- fillSheets
- Type: System..::..Boolean
True to load data into the sheets; False to read the sheet names only.