ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / C1XLBook Class / Load Method / Load(String,FileFormat,Boolean) Method
Name of the file that contains the worksheet.
C1.Excel.C1XLBook.FileFormat value that specifies the file format.
True to load data into the sheets; False to read the sheet names only.

In This Topic
    Load(String,FileFormat,Boolean) Method
    In This Topic
    Loads an Excel worksheet from a file.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal fileName As System.String, _
       ByVal format As FileFormat, _
       ByVal fillSheets As System.Boolean _
    ) 
    public void Load( 
       System.string fileName,
       FileFormat format,
       System.bool fillSheets
    )

    Parameters

    fileName
    Name of the file that contains the worksheet.
    format
    C1.Excel.C1XLBook.FileFormat value that specifies the file format.
    fillSheets
    True to load data into the sheets; False to read the sheet names only.
    See Also