In This Topic
Provides export to Microsoft Excel file.
Syntax
'Declaration
Public Shared Sub SaveExcel( _
ByVal As C1TrueDBGrid, _
ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.Drawing.Printing.PrinterSettings, _
Optional ByVal includeHiddenColumns As System.Boolean _
)
public static void SaveExcel(
C1TrueDBGrid ,
System.string ,
System.string ,
System.Drawing.Printing.PrinterSettings ,
System.bool includeHiddenColumns
)
Parameters
- grid
- C1.Win.C1TrueDBGrid.C1TrueDBGrid instance that will be exported.
- fileName
- Name of the file to save, including the path.
- sheetName
- Name of the sheet to add to the Excel workbook.
- ps
- System.Drawing.Printing.PrinterSettings to use when saving the file.
- includeHiddenColumns
- Indicates whether hidden columns should be included in the export.
See Also