ComponentOne True DBGrid for WinForms
C1.Win.C1TrueDBGrid.Excel.4.5.2 Assembly / C1.Win.C1TrueDBGrid.Excel Namespace / Extensions Class / LoadExcel Method
C1.Win.C1TrueDBGrid.C1TrueDBGrid instance that will be exported.
Name of the file to load, including the path.
Name of the sheet to load from the Excel workbook.

In This Topic
    LoadExcel Method
    In This Topic
    Provides import from Microsoft Excel file.
    Syntax
    'Declaration
     
    Public Shared Sub LoadExcel( _
       ByVal grid As C1TrueDBGrid, _
       ByVal fileName As System.String, _
       Optional ByVal sheetName As System.String _
    ) 
    public static void LoadExcel( 
       C1TrueDBGrid grid,
       System.string fileName,
       System.string sheetName
    )

    Parameters

    grid
    C1.Win.C1TrueDBGrid.C1TrueDBGrid instance that will be exported.
    fileName
    Name of the file to load, including the path.
    sheetName
    Name of the sheet to load from the Excel workbook.
    See Also