ComponentOne FlexGrid for WinForms
SaveExcel(C1FlexGridBase,String,String) Method

C1.Win.C1FlexGrid Namespace > Extensions Class > SaveExcel Method : SaveExcel(C1FlexGridBase,String,String) Method
C1FlexGridBase instance that will be saved.
Name of the file to save, including the path.
Name of the sheet to add to the Excel workbook.
Saves the grid contents to a Microsoft Excel (.XLS) file.
Syntax
'Declaration
 
Public Overloads Shared Sub SaveExcel( _
   ByVal grid As C1FlexGridBase, _
   ByVal fileName As String, _
   ByVal sheetName As String _
) 
public static void SaveExcel( 
   C1FlexGridBase grid,
   string fileName,
   string sheetName
)

Parameters

grid
C1FlexGridBase instance that will be saved.
fileName
Name of the file to save, including the path.
sheetName
Name of the sheet to add to the Excel workbook.
See Also

Reference

Extensions Class
Extensions Members
Overload List