FlexGrid for WPF | ComponentOne
C1.WPF.Grid.Excel Assembly / C1.WPF.Grid Namespace / Extensions Class / LoadExcel Method / LoadExcel(FlexGrid,String,LoadExcelOptions) Method
Instance of the FlexGrid to load the data into.
The path to the Excel file.
A LoadExcelOptions loading options.

In This Topic
    LoadExcel(FlexGrid,String,LoadExcelOptions) Method
    In This Topic
    Loads data from an Excel file into the specified grid synchronously.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub LoadExcel( _
       ByVal grid As FlexGrid, _
       ByVal fileName As String, _
       ByVal options As LoadExcelOptions _
    ) 
    public static void LoadExcel( 
       FlexGrid grid,
       string fileName,
       LoadExcelOptions options
    )

    Parameters

    grid
    Instance of the FlexGrid to load the data into.
    fileName
    The path to the Excel file.
    options
    A LoadExcelOptions loading options.
    See Also