FlexGrid for WinForms
LoadExcel(String,String,FileFlags) Method



Name of the file to load, including the path.
Name of the worksheet to load.
Options to use when loading the file.
Loads the grid from a Microsoft Excel (.XLS) file.
Syntax
'Declaration
 
Public Overloads Sub LoadExcel( _
   ByVal fileName As String, _
   ByVal sheetName As String, _
   ByVal flags As FileFlags _
) 
'Usage
 
Dim instance As C1FlexGridBase
Dim fileName As String
Dim sheetName As String
Dim flags As FileFlags
 
instance.LoadExcel(fileName, sheetName, flags)
public void LoadExcel( 
   string fileName,
   string sheetName,
   FileFlags flags
)
public:
void LoadExcel( 
   String^ fileName,
   String^ sheetName,
   FileFlags flags
) 

Parameters

fileName
Name of the file to load, including the path.
sheetName
Name of the worksheet to load.
flags
Options to use when loading the file.
Remarks
Use the LoadExcelSheetNames method to obtain a list of the worksheets in an XLS file.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback