FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / Extensions Class / LoadExcelSheetNames Method / LoadExcelSheetNames(C1FlexGridBase,Stream) Method
C1FlexGridBase instance to which a file will be loaded.
The System.IO.Stream to read.

In This Topic
    LoadExcelSheetNames(C1FlexGridBase,Stream) Method
    In This Topic
    Gets a list with the names of the worksheets in a Microsoft Excel (.XLS) file.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function LoadExcelSheetNames( _
       ByVal grid As C1FlexGridBase, _
       ByVal stream As Stream _
    ) As String()
    public static string[] LoadExcelSheetNames( 
       C1FlexGridBase grid,
       Stream stream
    )

    Parameters

    grid
    C1FlexGridBase instance to which a file will be loaded.
    stream
    The System.IO.Stream to read.

    Return Value

    An array containing the names of the worksheets defined in the file.
    See Also