FlexGrid for WinForms
LoadExcel(String,String) Method



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

Parameters

fileName
Name of the file to load, including the path.
sheetName
Name of the worksheet to load.
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