FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / Extensions Class / LoadExcel Method / LoadExcel(C1FlexGridBase,String,FileFlags) Method
C1FlexGridBase instance to which a file will be loaded.
Name of the file to load, including the path.
Options to use when loading the file.

In This Topic
    LoadExcel(C1FlexGridBase,String,FileFlags) Method
    In This Topic
    Loads the grid from the first worksheet in a Microsoft Excel (.XLS) file.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub LoadExcel( _
       ByVal grid As C1FlexGridBase, _
       ByVal fileName As String, _
       ByVal flags As FileFlags _
    ) 
    public static void LoadExcel( 
       C1FlexGridBase grid,
       string fileName,
       FileFlags flags
    )

    Parameters

    grid
    C1FlexGridBase instance to which a file will be loaded.
    fileName
    Name of the file to load, including the path.
    flags
    Options to use when loading the file.
    See Also