ComponentOne FlexGrid for WinForms
LoadExcelSheetNames(C1FlexGridBase,Stream) Method

C1.Win.C1FlexGrid Namespace > Extensions Class > LoadExcelSheetNames Method : LoadExcelSheetNames(C1FlexGridBase,Stream) Method
C1FlexGridBase instance to which a file will be loaded.
The System.IO.Stream to read.
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

Reference

Extensions Class
Extensions Members
Overload List